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 in Docker by akhtar
• 24,570 points
1,563 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 by MD
• 55,020 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 in Docker by Pistle
• 1,000 points
301 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
• 57,870 points
1,496 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