Solve the problem of slow docker pull

The docker modified to mirror the domestic source

In the /etc/docker/daemon.jsonAdd 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.

Published an original article · won praise 0 · Views 430

Guess you like

Origin blog.csdn.net/qq_37983000/article/details/103080125