sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-‘EOF‘
{
"registry-mirrors": ["https://x9o4p9lt.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
原文地址:https://www.cnblogs.com/StivenYang/p/12552111.html
时间: 2024-09-29 00:30:20