曦远 (DealiAxy)一份私人的文字刊物

StarBlog
返回文章列表折页手记阅读全文
docker

Using Docker Image Accelerators in China

Domestic mirror sources Domestic mirror sources include Docker official China region https://registry.docker-cn.com NetEase http://hub-mirror.c.163.com USTC http://docker.mirrors.ustc.edu.cn Alibaba Cloud http://<your ID>.mirror.aliyuncs.com Note Note that registry-mirrors must never use https, but rather use

曦远 (DealiAxy)约 3 分钟
目录5 个章节

Domestic Mirror Sources

Domestic mirror sources include

Note

Note that registry-mirrors must never use https, but rather http, otherwise it will display No certs for egitstry.docker.com, insecure-registries should not have any http prefix, otherwise it will not pass.

Linux Configuration

Edit /etc/docker/daemon.json

{
  "registry-mirrors" : [
    "http://ovfftd6p.mirror.aliyuncs.com",
    "http://registry.docker-cn.com",
    "http://docker.mirrors.ustc.edu.cn",
    "http://hub-mirror.c.163.com"
  ],
  "insecure-registries" : [
    "registry.docker-cn.com",
    "docker.mirrors.ustc.edu.cn"
  ],
  "debug" : true,
  "experimental" : true
}

Then restart the Docker daemon.

Windows

For Windows, just open the dashboard and configure it yourself.

References

_EOF_

Using Docker Image Accelerators in China

本文作者:
程序设计实验室
版权声明:
本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!

相关文章

讨论

共 0 条

良言一句三冬暖,恶语伤人六月寒。

加载评论中…