Home > Net >  Dockerfile failed to deploy (not connected to docker) in Intellij Idea
Dockerfile failed to deploy (not connected to docker) in Intellij Idea

Time:10-05

I'm new in Docker and just trying to follow instructions in this enter image description here

But deploying failed and the problem is that there is not much info:

enter image description here

Docker is up and running and I can connect to it from the IDE:

enter image description here

enter image description here

Docker info:

enter image description here

CodePudding user response:

May be you started the Docker after your PyCharm has been started. Simply right click to the Docker expandable item and choose Disconnect and then right click again and choose Connect to restart the connection.

CodePudding user response:

You can follow the official instructions. Particularly this part:

Configure the Docker daemon connection settings:

Press Ctrl Alt S to open the IDE settings and select Build, Execution, Deployment | Docker.

Click  to add a Docker configuration and specify how to connect to the Docker daemon.

The connection settings depend on your Docker version and operating system. For more information, see Docker configuration.

The Connection successful message should appear at the bottom of the dialog.

  • Related