$ docker-machine -D create -d generic --generic-ip-address "192.168.99.101" --generic-ssh-key ~/.ssh/id_rsa vm
Docker Machine Version: 0.8.2, build e18a919
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver generic
Plugin server listening at address 127.0.0.1:51213
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver generic
Plugin server listening at address 127.0.0.1:51217
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(vm) Calling .GetMachineName
(vm) Calling .DriverName
(vm) Calling .GetCreateFlags
(vm) Calling .SetConfigFromFlags
Running pre-create checks...
(vm) Calling .PreCreateCheck
(vm) Calling .GetConfigRaw
Creating machine...
(vm) Calling .Create
(vm) Importing SSH key...
(vm) DBG | IP: 192.168.99.101
(vm) Calling .GetConfigRaw
(vm) Calling .DriverName
(vm) Calling .DriverName
Waiting for machine to be running, this may take a few minutes...
(vm) Calling .GetState
(vm) Calling .GetState
(vm) Calling .GetState
(vm) Calling .GetState
(vm) Calling .GetState
(vm) Calling .GetState
(vm) Calling .GetState
(vm) Calling .GetState
(vm) Calling .GetState
(vm) Calling .GetState
(vm) Calling .GetState
(vm) Calling .GetState
.....( 后面全是这个 )
Error creating machine: Error waiting for machine to be running: Maximum number of retries (60) exceeded
notifying bugsnag: [Error creating machine: Error waiting for machine to be running: Maximum number of retries (60) exceeded]
求救, docker 和 docker-machine 都是通过 brew 安装的最新版,如果把 driver 改成 virtualbox 是可以正常创建 machine 的……
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/324828
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.