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

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

于是我又docker -d

root@iZ28fzgygdiZ:~# 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 了。。

root@iZ28fzgygdiZ:~# docker -b docker0
Usage: docker [OPTIONS] COMMAND [arg...]

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