failed to start docker application container engine centos code example

Example 1: Failed to start Docker Application Container Engine

#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

Example 2: docker.service: Unit entered failed state.

# Try this it will fix on docker
ps axf | grep docker | grep -v grep | awk '{print "kill -9 " $1}' | sudo sh