Docker Hub It's what we distribute and get Docker The center of the image , But because the server is overseas , Pull often occurs / When uploading the image, it is too slow or inaccessible . In addition, operators continue to pay attention to Docker Hub Free use of , As a result, we are always stumbling when we use it in China .

If you are using Docker We also encounter the situation of slow image pulling speed or failed image pulling , We can try to use domestic Docker Hub Mirror server .

 Netease cloud https://hub-mirror.c.163.com
Baidu cloud https://mirror.baidubce.com
DaoCloud http://f1361db2.m.daocloud.io
Alibaba cloud https://ustc-edu-cn.mirror.aliyuncs.com
Github https://ghcr.io

modify Docker How to mirror the server

1、 edit /etc/docker/daemon.json The configuration file
 Create a directory of configuration files 
$ sudo mkdir /etc/docker Edit profile , If the file doesn't exist , The following command will automatically create .
$ sudo nano /etc/docker/daemon.json Paste the configuration information into the configuration file , The configuration information is json Format , You can set up multiple domestic mirror servers according to actual needs .
{
"registry-mirrors": [
"https://hub-mirror.c.163.com",
"https://mirror.baidubce.com"
]
}
2、 restart Docker service
service docker restart

Docker Pull image speed is too slow for more related articles

  1. [ daily ] solve docker The problem of slow pull image speed

    take docker Change to domestic mirror source stay /etc/docker/daemon.json Add the following parameters to the file This is from the University of science and technology of China docker Mirror source {    "registry-mirrors ...

  2. docker Pull the image to report an error :net/http: TLS handshake timeout.

    docker Pull the image to report an error :net/http: TLS handshake timeout. Start a background busybox Containers [yunva@node1 network-scripts]$ docker ...

  3. Docker Pull image acceleration

    About Docker Pull image acceleration Open the desktop docker Small icons Check the box According to the picture below Add domestic acceleration source Docker Acceleration source # NetEase http://hub-mirror.c.163.com #Docke ...

  4. How to solve docker pull The problem of pulling the image too slowly

    After we installed docker after , Using docker pull When you download the image , The problem with domestic sources is that the speed is really slow , It can be described as tortoise speed , The most painful thing is when you wait patiently for a few hours , appear unexpected E ...

  5. Docker note 5: Implementation Accelerator , Speed up the download / Pull image speed

    because Docker The official warehouse is stored on foreign servers , therefore , We use d ocker pull Command to pull the image , slowly . however , We can use accelerators provided by domestic service providers to accelerate , The accelerator is essentially a IP Address , Add it to d ...

  6. 【docker】【mysql】docker install mysql, Alibaba cloud docker Image accelerator ,docker Search for images on remote warehouses ,docker Pull the mirror image , View all images locally , View the health of the container , View the container details

    stay docker Installation on mysql There are two ways 1. adopt Dockerfile structure 2. Directly in docker hub Pull up image installation ================= This article adopts the method 2=============== ...

  7. 【docker】 solve docker pull Mirror image The problem of pulling the mirror turtle speed ,docker Pull the image using alicloud docker Image accelerator

    stay docker Pull mysql In the process of mirroring , There's a problem with tortoise speed , The solution to this problem : This page For a long time , Still not finished downloading . In this case 1. Exit first Ctrl+C 2. Go to alicloud on the browser docker library ...

  8. Docker Error resolution when pulling image

    Pull docker The mirror image in is wrong : [root@master ~]# docker pull docker.io/centos:latest Trying to pull repository dock ...

  9. Use docker Pull images and create containers -nginx

    This article mainly shares from docker  hub Get on the nginx Mirror image 1. In the first place to find nginx Mirror image [root@node1 ~]# docker search nginx NAME DESCRIPTION ST ...

  10. Use alicloud to docker Pull image acceleration

    Use docker When , Always need to go search Mirror image , Using foreign sources to download is too slow , There are also many limitations , Accidentally found that Alibaba cloud can be used for acceleration , It's useful , Don't talk nonsense , The operation is as follows : 1. Open alicloud console , No can use Taobao account or ...

Random recommendation

  1. HP T505 Restore the factory system

    1. Make usb start-up U disc . ------ from HP Download it on the website , Or find a supplier to provide 2. Press F11, from U The disk starts up and goes in , The installation will be performed automatically , Wait until it's done .

  2. linux Daily operation and maintenance management

    1. View the system load command w command : Main view cpu load load average: Load in a minute Load in five minutes Load in 15 minutes Load heel cpu It's about the number of cores , see cpu The core number : # cat /proc/cpuinf ...

  3. obtain sim Card serial number

    // obtain sim Card serial number TelephoneManager TelephonyManager manager = (TelephonyManager)getSystemService(Context.TE ...

  4. mysql 5.7 Memory usage monitoring

    5.7 Medium performance_schema Already have the ability to monitor mysql Memory usage of , For this point, we also need to pass instrument To achieve , Because there is no corresponding memory block consumer So as long as with ...

  5. Linux Learning notes —— examples makefile Header file lookup path

    0. Preface     From learning C The language starts to come into contact makefile, Looking up a lot of makefile But I don't really know the information makefile, Suppose you write one yourself makefile I always think it's very hard . So I borrowed ...

  6. java Generate pictures

    Draw other pictures and words on one picture . public String GenerateImage(WebCast_baseinfo base,String code,String customName,St ...

  7. Python Reptiles - Climbing novels

    purpose The novel used to climb the novel website is the Yutian evil god by default , Although I didn't read novels , But it doesn't prevent me from crawling novels with reptiles . If you can't download txt, It's better to do it yourself txt Climb down . function Take the novel back , Remove HTML label The record has crawled ...

  8. seajs Modular development -- Practice notes

    2017-04-02 SeaJS It's a compliance CMD canonical JavaScript Module loading framework , Can achieve JavaScript Modular development and loading mechanism of . Effectively solve naming conflicts in complex projects . rely on . Performance and so on . SeaJS ...

  9. unity A* Pathfinding ( Two ) Read NavMesh data

    In the last chapter we've seen how to get NavMesh Data is saved as obj In this chapter, let's read NavMesh data First we need to define two structures spot and triangle Why not unity Self contained Vector3 Well ? I believe you should have ...

  10. C++ Study ( Twelve )(C The language part ) And loop

    Previous review : Branch if else switch Ternary operator Format :if( Conditions ){ sentence 1:}else{ sentence 2:} switch ( Variable ){default:break;case Constant 1: sentence 1 ;break; ...