Tuesday, December 11, 2018

How to resolve "The certificates path does not contain ca.pem" issue when NetBean connect to Docker?

Software Required
- macOS High Sierra
- NetBean IDE 8.2
- docker version 18.06.1-ce
  • Try to configure Docker connection from Netbean 8.2, encounter error message "The certificates path does not contain ca.pem" as shown in the screenshot below


Steps
  • Run the command below to install socat
brew install socat
    • Run the command below to start a bridge instance to listen to port 9090 and connect to Docker socket.
    socat tcp-listen:9090,fork UNIX:///var/run/docker.sock
    • Configure the URL to point to "http://localhost:9090" and leave the "Certificates Path" field empty.

    • Click on "Finish" button. Voila, all the Docker images and containers will be displayed.

      No comments: