I can\'t find any certificate files created by Docker Beta for Mac
. I need it for my IDE connection to Docker.
@VonC takes the best answer.
I just wanna to provide my solution about this question. The question is about using a connection to manage docker. In fact I am using Docker Integration
in IntelliJ.
At installation time, Docker for Mac provisions an HyperKit VM based on Alpine Linux, running Docker Engine. It exposes the docker API on a socket in
/var/tmp/docker.sock
However, it's not the truth, the real socket path is /var/run/docker.sock
. You can now use unix:///var/run/docker.sock
as API URL in Docker Integration
, not certificate files are needed.
Guess what, Docker Integration
ver 2.2.*, which works in the stable build(2016.1), failed with unix connection in Mac and got fixed in ver 2.3.1, which works in the preview build(2016.2). Which means if you want to make it works properly, you will need to update your IntelliJ to the preview build and install the newest plugin.
Here's the worst thing. The Docker Integration
ver 2.3.1 got NullPointerException
when deploying the Dockerfile, which works in the stable version of IntelliJ and Docker Integration
ver 2.2.* via http
connection. I have sent an email to the plugin author and waiting for a furthur solution.