buntu16.04+、Debian8+、CentOS7:
对于使用 systemd 的系统,在 /etc/docker/daemon.json 中写入如下内容(没有该文件就新建):
{"registry-mirrors":["https://hub-mirror.c.163.com/"]}