阿里云加速, CentOS配置

阿里云加速, CentOS配置

 

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

 

posted @ 2019-05-21 00:32  三重罗生门  阅读(210)  评论(0编辑  收藏  举报