docker配置阿里镜像

1.创建文件夹

sudo mkdir -p /etc/docker

2.配置阿里镜像文件

sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://tqkz2w1o.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

你可能感兴趣的:(docker,eureka,容器)