Error starting daemon: pid file found, ensure docker is not running or delete /var/snap/docker/179/run/docker.pid

0 votes

I am trying to start docker service, but it shows me the below error.

Error starting daemon: pid file found, ensure docker is not running or delete /var/snap/docker/179/run/docker.pid

How can I solve this error?

Apr 14 in Docker by akhtar
• 24,570 points
2,931 views

1 answer to this question.

0 votes

Hi@akhtar,

It means the previous PID file of docker service is still available. So when you try to start your docker service, it can't start the service because one process id is already present. To avoid this error, you have to remove the previous PID file and then try to start your service.

$  rm -rf /var/snap/docker/179/run/docker.pid
$ systemctl start docker
answered Apr 14 by MD
• 55,020 points
but it doesn't work
Did you get any error? If yes then share your error.

Related Questions In Docker

0 votes
1 answer
+1 vote
1 answer

Error while running docker run command

This error occurs when your port is ...READ MORE

answered Jul 26, 2018 in Docker by Kalgi
• 51,950 points
299 views
0 votes
6 answers

docker: executable file not found in $PATH

file not found in $PATH READ MORE

answered May 9, 2019 in Docker by anonymous
26,043 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 57,640 points
760 views
0 votes
1 answer