标签:tar inux docker 安装 registry fas 进入 epo sort com
安装Docker推荐LInux内核在3.10上 在2.6内核下运行较卡(CentOS 7.X以上内核是3.10)
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://docs.docker.com/v1.13/engine/installation/linux/repo_files/centos/docker.repo
sudo yum makecache fast
yum list docker-engine.x86_64 --showduplicates |sort -r
sudo yum -y install docker-engine-1.13.1
sudo systemctl start docker; sudo systemctl enable docker
sudo docker run hello-world
docker version
sudo yum -y remove docker-engine
sudo rm -rf /var/lib/docker
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-‘EOF‘
{
"registry-mirrors": ["https://p5xc8ac8.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
标签:tar inux docker 安装 registry fas 进入 epo sort com
原文地址:https://www.cnblogs.com/ggza/p/9448069.html