Я хочу установить последнюю версию докера с помощью этого doc< /а>. Но когда я запустил sudo yum install docker-ce docker-ce-cli containerd.io
. Я получил следующую ошибку:
...
--> Finished Dependency Resolution
Error: Package: containerd.io-1.4.4-3.1.el7.x86_64 (docker-ce-nightly)
Requires: container-selinux >= 2:2.74
Available: 2:container-selinux-1.10.3-59.el7.centos.x86_64 (extras)
container-selinux = 2:1.10.3-59.el7.centos
Available: 2:container-selinux-1.12.5-14.el7.centos.x86_64 (extras)
container-selinux = 2:1.12.5-14.el7.centos
Available: 2:container-selinux-2.9-4.el7.noarch (extras)
container-selinux = 2:2.9-4.el7
Available: 2:container-selinux-2.10-2.el7.noarch (extras)
container-selinux = 2:2.10-2.el7
Error: Package: 3:docker-ce-20.10.6-3.el7.x86_64 (docker-ce-stable)
Requires: container-selinux >= 2:2.74
Available: 2:container-selinux-1.10.3-59.el7.centos.x86_64 (extras)
container-selinux = 2:1.10.3-59.el7.centos
Available: 2:container-selinux-1.12.5-14.el7.centos.x86_64 (extras)
container-selinux = 2:1.12.5-14.el7.centos
Available: 2:container-selinux-2.9-4.el7.noarch (extras)
container-selinux = 2:2.9-4.el7
Available: 2:container-selinux-2.10-2.el7.noarch (extras)
container-selinux = 2:2.10-2.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Моя ОС CentOS Linux release 7.3.1611 (Core)
. Как мне поступить в такой ситуации? Я попытался установить yum container-selinux, но все равно возникает та же ошибка.