标签:col load ota https lin linu nta emctl engine
1、卸载旧docker
sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine
2、安装所需的软件包
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
3、设置稳定的仓库
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
4、安装docker
sudo yum install docker-ce docker-ce-cli containerd.io
安装过程有一些提示,按 y 确认。
5、启动docker
sudo systemctl start docker
6、hello-world测试是否成功
sudo docker run hello-world
标签:col load ota https lin linu nta emctl engine
原文地址:https://www.cnblogs.com/yanglei-xyz/p/12187501.html