3
Docker Mirror
source link: https://linuxsuren.github.io/blog/devops/docker/docker-mirror/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Docker Mirror
Docker Mirror
vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://mirror.gcr.io"]
}
或者,获取在 daemon 启动时传递参数 dockerd --registry-mirror=https://mirror.gcr.io
或者,在文件 /etc/default/docker
中添加如下配置:
DOCKER_OPTS="${DOCKER_OPTS} --registry-mirror=https://mirror.gcr.io"
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK