Home>Article>Operation and Maintenance> How docker sets up domestic image source
First open the /etc/docker/daemon.json file, and then modify it as follows:
# vi /etc/docker/daemon.json { "registry-mirrors": ["http://hub-mirror.c.163.com"]//这里设置国内镜像源的地址 } systemctl restart docker.service
Domestic acceleration addresses are:
DockerChina official image
https://registry.docker-cn.com
NetEase
http://hub-mirror.c.163.com
University of Science and Technology of China
https://docker.mirrors.ustc.edu.cn
Recommended tutorial:docker
The above is the detailed content of How docker sets up domestic image source. For more information, please follow other related articles on the PHP Chinese website!