Home  >  Article  >  Operation and Maintenance  >  How to modify the docker image download address

How to modify the docker image download address

WJ
WJOriginal
2020-06-09 16:33:332706browse

How to modify the docker image download address

How to modify the docker image download address?

Configuring the image accelerator
For users whose Docker client version is greater than 1.10.0
You can use the accelerator by modifying the daemon configuration file /etc/docker/daemon.json

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

Related recommendations:docker tutorial

The above is the detailed content of How to modify the docker image download address. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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