Get the App
SLTechnology News&Howtos  ›  Servers  › 

Docker: replace the pull source of docker, easy pull

Shulou Source: shulou.com Published: 2022-06-03 04:36:22 10月25日 Update

# replace the pull source

Vi / etc/docker/daemon.json

{

"registry-mirrors": [

"https://kfwkfulq.mirror.aliyuncs.com",

"https://2lqq34jg.mirror.aliyuncs.com",

"https://pee6w651.mirror.aliyuncs.com",

"http://hub-mirror.c.163.com",

"https://docker.mirrors.ustc.edu.cn",

"https://registry.docker-cn.com"

]

}

# load configuration file

Systemctl daemon-reload

# restart the docker service

Systemctl restart docker

Tags: Files services configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information NVidia macOS MariaDB Huawei