提升Docker镜像拉取速度

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{    
"registry-mirrors": [
        "https://1nj0zren.mirror.aliyuncs.com",  
         "https://docker.mirrors.ustc.edu.cn",   
         "http://f1361db2.m.daocloud.io",        
         "https://registry.docker-cn.com"    
         ]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

你可能感兴趣的:(学习笔记)