我尝试用这个 manual 删除 docker .
我删除了 virtualbox。然后尝试安装boot2docker。
在 boot2docker init 等之后(通过 docker 站点上的手册)
docker run helloworld
给我这个错误
Cannot connect to the Docker daemon. Is 'docker -d' running on this host?
boot2docker status
running
docker version
Client version: 1.7.0
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 0baf609
OS/Arch (client): darwin/amd64
Cannot connect to the Docker daemon. Is 'docker -d' running on this host?
最佳答案
您需要运行boot2docker up
,然后运行docker run helloworld
。
关于macos - 无法使用 boot2docker 在 os X 上运行 docker,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31157999/