部署 阿里云的 docker 是不是有问题啊?

tangmonk · 2015年03月22日 · 3302 次阅读
[email protected]:~# docker pull rails
FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

于是我又docker -d

[email protected]:~# docker -d
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
INFO[0000] +job init_networkdriver()
Could not find a free IP address range for interface 'docker0'. Please configure its address manually and run 'docker -b docker0'
INFO[0000] -job init_networkdriver() = ERR (1)
FATA[0000] Could not find a free IP address range for interface 'docker0'. Please configure its address manually and run 'docker -b docker0'

于是我又docker -b docker0, 结果貌似 no command found 了。。

[email protected]:~# docker -b docker0
Usage: docker [OPTIONS] COMMAND [arg...]

A self-sufficient runtime for linux containers.
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请 注册新账号