Home  >  Article  >  Operation and Maintenance  >  Where does docker pull the image from?

Where does docker pull the image from?

尚
Original
2020-04-03 14:23:093305browse

Where does docker pull the image from?

docker pull downloads the image from Docker Hub (https://hub.docker.com/) by default.

We can first use the docker search command to find the image in Docker Hub.

Syntax

docker search [OPTIONS] TERM

OPTIONS Description:

--automated: Only list automated build type images;

--no-trunc: Display complete Image description;

-s: List the images whose collection number is not less than the specified value.

Then use the docker pull command to download the image.

docker pull: Pull or update the specified image from the mirror warehouse

Syntax

docker pull [OPTIONS] NAME[:TAG|@DIGEST]

OPTIONS Description:

-a: Pull all tagged images

--disable-content-trust: Ignore the verification of the image and enable it by default

For more related tutorials, please pay attention to the docker tutorial column on the PHP Chinese website.

The above is the detailed content of Where does docker pull the image from?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn