标签:docke engine add yum x86_64 star install tab x86
官网地址(不过是centos7):
https://docs.docker.com/engine/install/centos/
sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine
sudo yum -y update
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install -y https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.13-3.2.fc30.x86_64.rpm
sudo yum install docker-ce docker-ce-cli
sudo systemctl start docker
sudo vim /etc/docker/daemon.json
文件中添加一下内容,有该内容可以替换地址:
{
"registry-mirrors":["https://t88rlg2k.mirror.aliyuncs.com"]
}
sudo systemctl restart docker
标签:docke engine add yum x86_64 star install tab x86
原文地址:https://www.cnblogs.com/roinbi/p/13266101.html