Linux Centos8安装docker
下面这篇博客讲的大多数步骤都是没问题的
https://blog.youkuaiyun.com/cainiaodeluser/article/details/108382761
第五步出现containerd.io版本过低的话就要装提示的版本了
先把之前装的低版本的卸载掉
sudo yum remove containerd.io
然后进下面这个链接 去看你所要的containerd.io版本
https://download.docker.com/linux/centos/8/x86_64/stable/Packages/
然后复制路径安装
(我这个装的是1.4.3版本的 才更新没几天 如果后面有新的版本 直接换新的路径就好了)
yum install https://download.docker.com/linux/centos/8/x86_64/stable/Packages/containerd.io-1.4.3-3.1.el8.x86_64.rpm
其他补充:
查看Centos的版本
cat /etc/redhat-release
运行hello-world镜像
docker run hello-world