关于本书第六章6.1.3Docker运行环境的安装
Opened this issue · 0 comments
IMTHERX commented
您好!关于Docker运行环境的安装,再步骤
sudo yum-config-manager
-add-repo
https://download.docker.com/linux/centos/docker-ce.repo
这一项遇到问题,暂时找不到方法解决。
目前是从该网址下载了docker-ce.repo文件放到了 /etc/yum.repos.d/..下,
当使用了sudo yum install docker-ce后,出现错误:
--> 完成依赖关系计算
错误:Package: docker-ce-18.03.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: libseccomp.so.2()(64bit)
错误:Package: docker-ce-18.03.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: libsystemd.so.0(LIBSYSTEMD_209)(64bit)
错误:Package: docker-ce-18.03.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: libc.so.6(GLIBC_2.17)(64bit)
错误:Package: docker-ce-18.03.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: systemd-units
错误:Package: docker-ce-18.03.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: libseccomp >= 2.3
错误:Package: docker-ce-18.03.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: pigz
错误:Package: docker-ce-18.03.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: libsystemd.so.0()(64bit)
错误:Package: docker-ce-18.03.1.ce-1.el7.centos.x86_64 (docker-ce-stable)
Requires: container-selinux >= 2.9
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
请问如何解决?