Quick Fix the Error “start request repeated too quickly for docker service”

Docker is a software that is known to deliver hassle-free multiple applications. It is an open platform that helps in shipping, running, and developing applications. When installing any software, we need to go through searching the versions and supported operating systems, look for the licensed one, check the documentation, and make sure it is right for the needs. After all this, the process doesn’t stop here as we need further download to run the file. Here, dockers come for help. Its container has the software along with additional things required to run the software. You can find the complete software file in docker, and you can simply download it. You can also save your programs in a complete file in docker to install them and run them on the system you don’t have installed. When working with docker, you may encounter the error “start request repeated too quickly for docker service”.

As docker is important software that is used by programmers, developers, IT departments, and even non-programmers use it. It is frequently used for saving files as well as installing them. But when you see the error, you get irritated. Well, there is no need to as we have the solution to help you fix it.

How the error shows up

When you try to run sudo pamac install docker and sudo systemctl start docker.service, you get the following error

docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2019-04-29 12:28:44 -03; 39s ago
     Docs: https://docs.docker.com
  Process: 17769 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
 Main PID: 17769 (code=exited, status=1/FAILURE)

abr 29 12:28:44 tamer-pc systemd[1]: docker.service: Service RestartSec=100ms expired, scheduling restart.
abr 29 12:28:44 tamer-pc systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
abr 29 12:28:44 tamer-pc systemd[1]: Stopped Docker Application Container Engine.
abr 29 12:28:44 tamer-pc systemd[1]: docker.service: Start request repeated too quickly.
abr 29 12:28:44 tamer-pc systemd[1]: docker.service: Failed with result 'exit-code'.
abr 29 12:28:44 tamer-pc systemd[1]: Failed to start Docker Application Container Engine.

You must be wondering how to handle the error as quickly as possible.

Solution To Tackle the Error “start request repeated too quickly for docker service”

To solve the error, we have a solution to fix the exception. You need to follow the below code to get the docker issue resolved

#Failed to start Docker Application Container Engine
sudo dockerd --debug # this command will show error
# if error is==> Error starting daemon: error while opening volume store metadata database: timeout
ps axf | grep docker | grep -v grep | awk '{print "kill -9 " $1}' | sudo sh
# Run above command it will fix the error
sudo systemctl start docker # it will start the docker
sudo systemctl status docker  # to check the satus of docker

Conclusion

In this post, we have discussed the solution to fix the error “start request repeated too quickly for docker service”.  The solution is simple and you can implement it easily.

I hope you enjoyed it!

Leave a Reply

Your email address will not be published. Required fields are marked *