Use this method only for special cases and custom configurations. TCP socket: This method should work for any Docker version and operating system. If the Connection successful message doesn't appear, check your Docker Machine executable setting on the Docker | Tools page. If you get permission denied errors, add the current user to the docker group on the machine, log out, and then log back in.ĭocker Machine: If you are using Docker Toolbox for Windows or macOS, this is the recommended option for connecting to the Docker API. Unix socket: This is the recommended connection option for Linux. Select the method for connecting to the Docker API.ĭocker for Windows: The recommended option when using Docker Desktop for Windows.ĭocker for Mac: The recommended option when using Docker Desktop for Mac.