Docker Hub
Docker official maintains a public warehouse Docker Hub , which already includes a number of more than 15,000 images. Most of the demand can be downloaded directly through the mirror to achieve in Docker Hub.
Mirror Pull
You can docker search
to find the official repository mirroring commands and use docker pull
the command to download it locally.
For example, centos
the keyword search:
We can see a lot of return image contains keywords, including image name, description, collection number (indicating the degree of concern of the mirror), whether official creation (OFFICIAL), whether automated build (AUTOMATED).
According to whether it is official, mirroring can be divided into two categories.
One is similar to centos
this mirror, the mirror is referred to as base or root mirror. The base image is created by Docker company, verification, support is provided. Such mirrors often use a single word as a name.
There is another type, such as tutum /centos
mirror, it was created by a registered user Docker Hub and maintenance, often with a user name prefix. Prefix can username/
be specified using an image provided by the user, such as tutum user.
When looking through --filter=stars=N
you can specify that only the number of collections for the parameters N
above image
Push mirroring
Users can also log on through docker push
to their mirror image pushed to the Docker Hub command.
The following command username
replace your Docker account user name.