Job for docker service failed because the control process exited with error code

0 votes

I am trying to start my docker service in my linux system, but I am getting this below error.

[root@master ~]# systemctl start docker
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
[root@master ~]# journalctl -xe
-- The result is failed.
Apr 14 12:01:29 master systemd[1]: Unit docker.service entered failed state.
Apr 14 12:01:29 master systemd[1]: docker.service failed.
Apr 14 12:01:29 master systemd[1]: docker.service holdoff time over, scheduling restart.
Apr 14 12:01:29 master systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has begun starting up.

How can I solve this error?

Apr 14, 2020 in Docker by akhtar
• 38,260 points
16,906 views

1 answer to this question.

0 votes

Hi@akhtar,

Before starting your docker service check if docker.sock & docker.pid file is available in /var/run folder. If available then remove these files and start your service.

$ rm -rf /var/run/docker.sock
$ rm -rf /var/run/docker.pid
answered Apr 14, 2020 by MD
• 95,460 points

Related Questions In Docker

0 votes
2 answers

Error: RabbitMQ with Docker for Windows server

Connecting to other containers Step 1: Create a network. ...READ MORE

answered Aug 29, 2020 in Docker by Pistle
• 1,000 points
1,639 views
0 votes
1 answer
0 votes
1 answer

What is the process for stopping and restarting a docker container?

If you want to stop a docker ...READ MORE

answered Jul 3, 2019 in Docker by Sirajul
• 59,230 points
9,336 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
• 58,020 points
2,714 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP