centos 8 docker-ce 安装

https://www.techrepublic.com/article/a-better-way-to-install-docker-on-centos-8/
https://linuxconfig.org/how-to-install-docker-in-rhel-8
https://yq.aliyun.com/articles/110806

centos8目前直接安装会提示containerd.io版本不支持的问题,此时可以通过--nobest选项安装,不过最好还是先装好高版本的containerd.io再装docker-ce
centos8目前还有dns映射与firewalld不兼容的问题

dnf config-manager --add-repo=http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
dnf install https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm
dnf install docker-ce

猜你喜欢

转载自www.cnblogs.com/wswind/p/11972009.html