docker 1.13.1版本,dockerd怎么启动

wangjq_en 发布于 2017/02/27 14:00
阅读 1K+
收藏 0

命令如下:

dockerd --log-driver=journald --graph=/home/docker_lib_path --storage-driver=overlay --bridge=br0 --pidfile=/var/run/docker.pid --containerd=/var/run/docker.sock

然后就阻塞了,运行docker ps,也一直阻塞。

强制kill dockerd进程,如下信息:

INFO[0000] Graph migration to content-addressability took 0.00 seconds 
WARN[0000] mountpoint for pids not found                
INFO[0000] Loading containers: start.                   
INFO[0000] Firewalld running: true                      
INFO[0000] Loading containers: done.                    
^CINFO[0314] Processing signal 'interrupt'                
ERRO[0314] libcontainerd: failed to receive event from containerd: rpc error: code = 13 desc = transport is closing 
WARN[0314] failed to retrieve containerd version: rpc error: code = 13 desc = transport is closing 
WARN[0314] failed to retrieve docker-runc version: exec: "docker-runc": executable file not found in $PATH 
WARN[0314] failed to retrieve docker-init version       
INFO[0314] Daemon has completed initialization          
INFO[0314] Docker daemon                                 commit=092cba3 graphdriver=overlay version=1.13.1
INFO[0314] API listen on /var/run/docker.sock 

不知如何解决,谢谢大神救助

加载中
0
wangjq_en
wangjq_en

问题解决了,使用这个参数:

dockerd --log-driver=journald --graph=/mydata/lib/docker_lib_path --storage-driver=overlay --bridge=br0

并且最好可执行程序放在$PATH中