1.docker pull介绍
docker pull命令是用于从镜像仓库中拉取指定镜像。如果没有指定镜像标签,那么docker默认使用:latest标签
2.docker pull用法
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 ~]#
3.实例
3.1.拉取最新版本镜像
命令:
docker pull nginx
[root@