2017-11-23 36 views
0

centos 7 (Xen에 있음)이 있으며 최신 안정적인 업데이트를 설치하려고합니다.도커 설치 컨테이너 -selinux centOS에 멈춤

sudo yum install docker-ce 
: 내가 한 우선은 고정 표시기 서비스를 중지하고 내가 명령을 사용하여 고정 표시기-CE를 설치하려고 한 다음 procedure

에서 이전 버전을 제거하는 것입니다 (나는 이미 고정 표시기의 환매 특약을 추가했습니다)

몇 가지 이유로 설치가 중단됩니다.

명령 출력 :

Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: repo1.ash.innoscale.net * epel: mirror.us.leaseweb.net * extras: mirror.rackspace.com * updates: ftp.osuosl.org Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help). --> Running transaction check ---> Package docker-ce.x86_64 0:17.09.0.ce-1.el7.centos will be installed --> Processing Dependency: container-selinux >= 2.9 for package: docker-ce-17.09.0.ce-1.el7.centos.x86_64 --> Running transaction check ---> Package container-selinux.noarch 2:2.28-1.git85ce147.el7 will be installed --> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================================= Package Arch
Version Repository
Size ================================================================================================================================================================================= Installing: docker-ce x86_64
17.09.0.ce-1.el7.centos docker-ce-stable 21 M Installing for dependencies: container-selinux
noarch 2:2.28-1.git85ce147.el7
extras 29 k

Transaction Summary ================================================================================================================================================================================= Install 1 Package (+1 Dependent package)

Total size: 21 M Installed size: 76 M Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 2:container-selinux-2.28-1.git85ce147.el7.noarch

설치가 컨테이너 SELinux에 만요. (실제로 컨테이너 SELinux에 설치되어있는 프로세스를 중지 한 후 ... 이상한 일을 지금 여기

warning: %post(container-selinux-2:2.28-1.git85ce147.el7.noarch) scriptlet failed, signal 2 Non-fatal POSTIN scriptlet failure in rpm package 2:container-selinux-2.28-1.git85ce147.el7.noarch

입니다 : (I 1 시간 기다렸)이 얌 내가 오류가있어 설치 프로세스를 중지 한 후 확실하지 않다면) 그 후 나는 문제없이 docker-ce를 설치할 수 있었지만 정지 후에 주먹 설치를 중단 한 후에 만 ​​

매달리지 않고 설치를 완료하는 방법을 알고 싶습니까?

비고 :

1) 이미 시도 재부팅

2) 이미 명령을 사용하여 설치하려고 : 얌 = 쓸모 없게 = 0 고정 표시기-CE

3) 저장소 엑스트라 --setopt 설치 이미

4)을 사용하여 서버에 아무런 디스크 공간 또는 성능 문제

5) 이미 시도 : 냠 완성 트랜잭션 --cleanup - 단지

6) 이미 용기 + 볼륨이 그 데이터 (의/var/lib 디렉토리/고정 표시기 /) 아직도 매달려없이 설치 작업을하는 일을 시도 몇 시간 후에 디스크에

답변

0

존재한다 아래 (내 경우)

그 패키지처럼 보이는 서버 만 냠 업데이트 후 모든 패키지를 성공 컨테이너 SELinux를-2.28-1.git85ce147.el7.noarch.rpm (here)의 일부 요구 사항이 포함되어 패키지 (here) :

libselinux-utils 
policycoreutils >= 2.5-11 
policycoreutils-python 
selinux-policy >= 3.13.1-39 
selinux-policy-base >= 3.13.1-39 
selinux-policy-targeted >= 3.13.1-39 

나는 그 (것)들만을 새롭게하는 것을 시도하지 않으며 아니라 아마 일을 할 것이다