docker: Error response from daemon: connection error: desc = “transport: dial unix:///var/run/docker

You need to stop the Docker daemon first and then start it:

To stop the Docker daemon:

sudo /etc/init.d/docker stop

To start the Docker daemon:

sudo /etc/init.d/docker start

This will reset Docker, after which all the commands should work properly.

If the above commands do not work, then just reboot:

sudo reboot

You need to stop the Docker daemon first and then start it:

To stop the Docker daemon:

sudo /etc/init.d/docker stop

To start the Docker daemon:

sudo /etc/init.d/docker start

This will reset Docker, after which all the commands should work properly.

If the above commands do not work, then just reboot:

sudo reboot

猜你喜欢

转载自blog.csdn.net/qq_37674858/article/details/80981756
今日推荐