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

Where does docker pull the image from?

Release: 2020-04-03 14:23:09
Original
3331 people have browsed it

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
Copy after login

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]
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template