错误:软件包:docker-ce-rootless-extras-25.0.4-1.el7.x86_64 (docker-ce-stable)
需要:slirp4netns >= 0.4
错误:软件包:docker-ce-rootless-extras-25.0.4-1.el7.x86_64 (docker-ce-stable)
需要:fuse-overlayfs >= 0.7
错误:软件包:containerd.io-1.6.28-3.1.el7.x86_64 (docker-ce-stable)
需要:container-selinux >= 2:2.74
错误:软件包:3:docker-ce-25.0.4-1.el7.x86_64 (docker-ce-stable)
需要:container-selinux >= 2:2.74
安装docker时遇到以上报错,提示需要升级软件包。解决方案:
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
评论