Docker deployment fail
Hello
I am using PHPStorm along with docker and use the Docker Integration plugin inside PHPStorm. Everything used to work just fine but since today, and I don't know why, when I try to deploy a docker I have the following:
Deploying 'Compose: docker-compose.yml'...
Removing old containers...
Couldn't connect to Docker daemon. You might need to install Docker:
https://docs.docker.com/engine/installation/
(Re)building services...
Building php
Couldn't connect to Docker daemon. You might need to install Docker:
https://docs.docker.com/engine/installation/
Starting...
Couldn't connect to Docker daemon. You might need to install Docker:
https://docs.docker.com/engine/installation/
No containers created for service: php
Failed to deploy 'Compose: docker-compose.yml': Some services/containers not started
I am using debian 9 with docker1.13.1. I can do a "docker-compose up" and it works. The user I am runing PHPStorm from is in the "docker" group.
It already try to reboot my computer, recreate the docker object in the PHPStorm settings but it do not help.
If I start the container from a terminal then it became available in PHPStorm, it just fail to start the container.
Any help will be welcome. Thanks in advance.
Please sign in to leave a comment.
What do you have in Settings | Build, Execution, Deployment | Docker?
Please change the API URL, then change it back and click Apply - PhpStorm should check the connection and report whether it was successful or not.
Please show us a screenshot of the window after it happens.
Hi and thank you for your answer.
In Settings | Build, Execustion, Deployment | Docker I have:
API URL: unix:///var/run/docker.sock
Certificates folder: [EMPTY]
Docker Composer executable: docker-compose
Import credentials from Docker machine [UNCHECKED]
When I cut then paste the API URL it says "Connection successful", still it won't deploy my docker.