2016-06-28 5 views
3

내가 냠에서 docker 설치 및 Centos7에 설치 스크립트에서 그들 모두 같은 오류가 줄 시도 :설치 고정 표시기 : 고정 표시기 - selinux-와 고정 표시기 - 엔진 SELinux에 충돌 *

Error: docker-engine-selinux conflicts with docker-selinux-1.10.3-44.el7.centos.x86_64

이 문제를 해결하고 도커를 설치하는 방법을 알 수 없습니다.

전체 오류 추적 : 최고 대답이 작동하지 않을 경우 코드가 자주 자체에 대한 말을하는 동안

[[email protected]]# wget -qO- https://get.docker.com/ | sh 
/usr/bin/docker: line 13: /usr/bin/docker-latest: No such file or directory 
sh: line 149: [: -lt: unary operator expected 
sh: line 153: [: -le: unary operator expected 
Warning: the "docker" command appears to already exist on this system. 

If you already have Docker installed, this script can cause trouble, which is 
why we're displaying this warning and provide the opportunity to cancel the 
installation. 

If you installed the current Docker package using this script and are using it 
again to update Docker, you can safely ignore this message. 

You may press Ctrl+C now to abort this script. 
+ sleep 20 
+ sh -c 'sleep 3; yum -y -q install docker-engine' 
Error: docker-engine-selinux conflicts with docker-selinux-1.10.3-44.el7.centos.x86_64 
You could try using --skip-broken to work around the problem 
You could try running: rpm -Va --nofiles --nodigest 

답변

8
yum list installed|grep docker 
yum remove docker-selinux.x86_64 
+2

을 시도, 그것은 코드에 약간의 설명을 추가하는 것이 좋다. 코드 전용 답변으로 경향이있어 리뷰 대기열에 나타났습니다. – Will

0

yum remove docker-engine-selinux 대신