docker 拉取镜像更改配置

cd /etc/docker/

cat<

{

"registry-mirrors": ["http://*.*.*.*:*"],

"max-concurrent-downloads":8,

    "max-concurrent-uploads":8

}


重新加载daemon.json 并重启docker

    systemctl daemon-reload

    systemctl restart docker


docker显示is daemon running?

    systemctl enable docker

    systemctl start docker 

    

你可能感兴趣的:(docker 拉取镜像更改配置)