Where is the certificates folder for Docker Beta for Mac

前端 未结 3 584
隐瞒了意图╮
隐瞒了意图╮ 2021-02-04 11:28

I can\'t find any certificate files created by Docker Beta for Mac. I need it for my IDE connection to Docker.

3条回答
  •  滥情空心
    2021-02-04 12:02

    @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.

    1. As mentioned in Docker for Mac vs. Docker Toolbox

    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.

    1. 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.

    2. 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.

提交回复
热议问题