The docker modified to mirror the domestic source
In the
/etc/docker/daemon.json
Add the following parameter file
{ "registry-mirrors": ["https://registry.docker-cn.com","http://hub-mirror.c.163.com"] }
Without this file is to create your own
Finally, restart the docker services
$ sudo service docker restart
Author: LeslieLiang
link: https: //www.jianshu.com/p/6172f03a24ff
Source: Jane books
are copyrighted by the author. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.