标签:http nerd lazy png emc engine utils client yum
sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine
sudo yum install -y yum-utils
官方和阿里云二选一即可!
Docker 官方镜像地址安装
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
阿里云Docker 镜像地址安装
sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum makecache fast
sudo yum install docker-ce docker-ce-cli containerd.io
sudo systemctl start docker
docker version
sudo docker run hello-world
成功截图
标签:http nerd lazy png emc engine utils client yum
原文地址:https://www.cnblogs.com/ljh789/p/13909281.html