docker pull命令是用于从镜像仓库中拉取指定镜像。如果没有指定镜像标签,那么docker默认使用:latest标签
docker pull [参数] NAME[:TAG|@DIGEST]
[root@centos79 ~]# docker pull --help
Usage: docker pull [OPTIONS] NAME[:TAG|@DIGEST]
Download an image from a registry
Aliases:
docker image pull, docker pull
Options:
-a, --all-tags Download all tagged images in the repository
--disable-content-trust Skip image verification (default true)
--platform string Set platform if server is multi-platform capable
-q, --quiet Suppress verbose output
[root@centos79 ~]#
命令:
docker pull nginx
[root@centos79 ~]# docker pull nginx
Using default tag: latest
latest: Pulling from library/nginx
a2abf6c4d29d: Pull complete
a9edb18cadd1: Pull complete
589b7251471a: Pull complete
186b1aaa4aa6: Pull co