Mac OS X sudo docker Cannot connect to the Docker daemon. Is the docker daemon running on this host?

前端 未结 6 2025
甜味超标
甜味超标 2020-12-24 15:14

I installed docker and there seems to be some issue.

$ docker ps

CONTAINER ID IMAGE COMMAND

6条回答
  •  渐次进展
    2020-12-24 15:34

    docker-machine is a legacy stuff for OSX that operates with VirtualBox. What you should do is get rid of it completely, and then you should download the latest version of docker, that is called Docker for Mac

    Make sure, you remove the legacy docker, and the docker-machine from your Mac before installing Docker for Mac. If you do not do that, the legacy docker binary will be favoured after the installation, and you will still get the error message, which says that cannot connect to the Docker daemon.

提交回复
热议问题