标签:docker
在安装dockerCE 17.09 时发现,官方提供了docker-ce-selinux包,容易产生混淆,这里解释下
dockerCE安装方法,
wget https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-17.09.0.ce-1.el7.centos.x86_64.rpm yum localinstall -y docker-ce-17.00.0.ce-1.el7.centos.x86_64.rpm
如上,yum会自动安装container-selinux。
docker-ce-selinux和docker-selinux 是一个包的不同分发版本。
container-selinux是docker-selinux的下一个版本。
我们分析docker Ce 17的RPM包发现,其废止了docker-ce-selinux,依赖于container-selinux >= 2.9
# required packages on install Requires: /bin/sh Requires: container-selinux >= 2.9 Requires: iptables Requires: libcgroup Requires: systemd-units Requires: tar Requires: xz # Resolves: rhbz#1165615 Requires: device-mapper-libs >= 1.02.90-1 # conflicting packages Conflicts: docker Conflicts: docker-io Conflicts: docker-engine-cs Conflicts: docker-ee # Obsolete packages Obsoletes: docker-ce-selinux Obsoletes: docker-engine-selinux Obsoletes: docker-engine
docker-ce-selinux和docker-selinux还有container-selinux
标签:docker
原文地址:http://ipcpu.blog.51cto.com/924192/1982285