How docker sets up domestic image source

王林
Release: 2020-05-16 17:34:36
forward
3363 people have browsed it

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
Copy after login

Domestic acceleration addresses are:

DockerChina official image

https://registry.docker-cn.com
Copy after login

NetEase

http://hub-mirror.c.163.com
Copy after login

University of Science and Technology of China

https://docker.mirrors.ustc.edu.cn
Copy after login

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!