2016-08-04 149 views
0

我试图从它的源代码 建立ManageIQ容器中,我看到了这样的错误,从而建立一个ManageIQ容器.. 我使用了以下内容:错误从混帐

sudo docker build -t darga-container-28072016 . 

和接收以下错误:

Step 11 : RUN curl -sSLko /etc/yum.repos.d/rhscl-rh-postgresql94-epel-7.repo https://copr-fe.cloud.fedoraproject.org/coprs/rhscl/rh-postgresql94/repo/epel-7/rhscl-rh-postgresql94-epel-7.repo && curl -sSLko /etc/yum.repos.d/ncarboni-pglogical-SCL-epel-7.repo https://copr.fedorainfracloud.org/coprs/ncarboni/pglogical-SCL/repo/epel-7/ncarboni-pglogical-SCL-epel-7.repo 
---> Running in 9bca2fce10d7 
Cannot start container 9bca2fce10d74375a70250a4ab4c6d3d38cdf510c943e90cab4235400f1b053a: [9] System error: exit status 1 

我不是100%确定是我应该用sudo还是不用sudo。我试着不和我:

Cannot connect to the Docker daemon. Is the docker daemon running on this host? 

这是奇怪,因为我知道,确实服务运行:

$ sudo service docker status 
Redirecting to /bin/systemctl status docker.service 
● docker.service - Docker Application Container Engine 
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled) 
Active: active (running) since Thu 2016-08-04 16:13:37 IDT; 12min ago 
Docs: http://docs.docker.com 
Main PID: 3460 (sh) 
CGroup: /system.slice/docker.service 
├─3460 /bin/sh -c /usr/bin/docker-current daemon --authorization-plugin=rhel-push-plugin --exec-opt native.cgro... 
├─3462 /usr/bin/docker-current daemon --authorization-plugin=rhel-push-plugin --exec-opt native.cgroupdriver=systemd --selinux-enable... 
└─3463 /usr/bin/forward-journald -tag docker 

任何指针怎么办吗? 谢谢!

回答