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

tangmonk · March 22, 2015 · 3333 hits
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.
No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.