docker pull -a hogehogeRepository/centos
②ダウンロードしてきたリポジトリ内のイメージの一覧を出力する
docker images
実行例①
[root@localhost ~]# docker pull -a hogehogeRepository/centos
Trying to pull repository docker.io/hogehogeRepository/centos ...
centos6: Pulling from docker.io/hogehogeRepository/centos
a3ed95caeb02: Pull complete
dfabbb82181a: Pull complete
Digest: sha256:1422c5ba80430ae5899e40774bb3033e71cba5589d1163e04b1b801698e61127
centos7: Pulling from docker.io/hogehogeRepository/centos
a3ed95caeb02: Pull complete
a5b52df5865b: Pull complete
Digest: sha256:5871aecd08cd037002d42ebb92cfe11a78c93806ab2275a627bf4551cc638855
latest: Pulling from docker.io/hogehogeRepository/centos
a3ed95caeb02: Already exists
a5b52df5865b: Already exists
Digest: sha256:49ecd6397d1f23deb245d3e0332862d68a9d34bb1d030066ae6175b8e9540c34
[root@localhost ~]#
実行例②
[root@localhost ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/hogehogeRepository/centos centos6 b8c94c5d2d7c 2 years ago 203.1 MB
docker.io/hogehogeRepository/centos centos7 3bd78cf8ed76 2 years ago 172.2 MB
docker.io/hogehogeRepository/centos latest 3bd78cf8ed76 2 years ago 172.2 MB
[root@localhost ~]#
0 件のコメント:
コメントを投稿