我只是在Mac OS 10.10.5上安装Docker并在此之后运行Kitematic并立即得到一个拥抱错误。这是它的开始,如果有帮助我可以粘贴其余的
命令失败:/ usr / local / bin / docker-machine -D start default,Docker 机器版本:0.7.0,构建a650a40,找到二进制路径 / usr / local / bin / docker-machine,启动驱动程序的插件服务器 virtualbox,插件服务器侦听地址127.0.0.1:62284,() 调用.GetVersion,使用API版本1,()调用.SetConfigRaw,() 调用.GetMachineName,command = start machine = default,(默认) 调用.GetState,(默认)DBG |命令:/ usr / local / bin / VBoxManage showvminfo default --machinereadable,(默认)DBG | STDOUT:(默认) DBG
$ docker version
Client:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Tue Apr 26 23:44:17 2016
OS/Arch: darwin/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
$ docker info
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
default - virtualbox Stopped Unknown
答案 0 :(得分:0)
我已经再次阅读了Get started with Docker Machine and a local VM,发现我需要运行eval "$(docker-machine env default)"
在Mac OS X上为docker设置env-var。