一、环境准备
1.1 服务器硬件配置
1.2 版本说明
二、安装步骤
2.1 下载阿里云YUM源
[root@localhost]# wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
2.2 查看源中的软件
[root@localhost]# yum list | grep containerd
containerd.io.x86_64 1.4.12-3.1.el7 docker-ce-stable
2.3 安装软件
[root@localhost]# yum -y install containerd.io
2.4 配置开机自启
[root@localhost]# systemctl enable containerd
2.5 启动服务
[root@localhost]# systemctl start containerd
2.6 验证
[root@localhost]# ctr version
Client:
Version: 1.4.12
Server:
Version: 1.4.12