If you are unable to connect to Docker daemon and get the below error.
Error:
[sagacity@nunifidts110 run]$ docker stats
Cannot connect to the Docker daemon at unix:///var/run/docker.sock
Reason:
Docker doesn't shut down cleanly.
Solution:
Run the below commands and see to restart the docker.
Before performing the below command you should have proper root permissions.
sudo su
systemctl start docker
systemctl enable docker
systemctl restart docker
Comments
0 comments
Please sign in to leave a comment.