拉取(pull)
简介
从远程仓库拉取镜像
使用示例
$ docker pull mysql
Using default tag: latest
latest: Pulling from library/mysql
2a72cbf407d6: Pull complete
38680a9b47a8: Pull complete
4c732aa0eb1b: Pull complete
c5317a34eddd: Pull complete
f92be680366c: Pull complete
e8ecd8bec5ab: Pull complete
2a650284a6a8: Pull complete
f3baca4eb0e3: Pull complete
d3288bceb92d: Pull complete
410aa06ed26b: Pull complete
6d828875da7d: Pull complete
7cc67dc49caa: Pull complete
Digest: sha256:6d985a966d7bfd05b8f3a965d3da5e7f6da4a8f87cc645ddab7565c4eaf6d2bb
Status: Downloaded newer image for mysql:latest
参数
➜ python docker pull --help
Usage: docker pull [OPTIONS] NAME[:TAG|@DIGEST]
Pull an image or a repository from a registry
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