安装docker-ce时遇到:Error: Package: 3:docker-ce-19.03.3-3.el7.x86_64 (docker-ce-stable)


安装docker-ce时遇到:Error: Package: 3:docker-ce-19.03.3-3.el7.x86_64 (docker-ce-stable)

笔者安装最新的docker-ce时遇到了下面的问题:
在这里插入图片描述
遇到了contain-SElinux的情况
所以我们只需要把他补上就行了!

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum install epel-release -y
yum install container-selinux -y    #安装最新的contain-selinux


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM