Docker Daemon Not Running
The Docker daemon is a background service that manages Docker containers on the host system. When the Docker daemon is not running, attempts to start docker containers will fail. Common indications of this symptom include error messages when attempting to execute Docker commands, such as docker images or docker ps, which may state that the daemon is unreachable or that the Docker command cannot connect to the Docker socket.
Steps to identify the symptoms
systemctl status dockerReview the output. If it indicates that Docker is inactive or has failed, proceed with the solution suggested for this symptom.
Possible cause
The Docker daemon may not have started automatically during system boot, or it could have encountered an error that prevented it from starting correctly due to issues with the system configuration.
Solution
- To ensure that the Docker daemon starts automatically when the system boots, execute the following command:
Sudo systemctl enable docker
- If the Docker daemon is not currently running, you can manually start it
using the following command:
Sudo systemctl start docker - After starting Docker manually, check the status once more to confirm that
it is now active:
systemctl status docker - Re-run the installation process after Docker daemon is started and running.