vmware / vic

vSphere Integrated Containers Engine is a container runtime for vSphere.
http://vmware.github.io/vic
Other
640 stars 173 forks source link

Support pulling all tagged images in repository #2724

Open cgtexmex opened 8 years ago

cgtexmex commented 8 years ago

Docker provides the ability to pull all tagged images in a repository:

Usage:  docker pull [OPTIONS] NAME[:TAG|@DIGEST]

Pull an image or a repository from a registry

  -a, --all-tags                  Download all tagged images in the repository
  --disable-content-trust=true    Skip image verification
  --help                          Print usage

vic currently doesn't support and when executed against vic it will only attempt to download the latest tagged image in the repo. For example:

Only nginx latest exists

vic images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
nginx               latest              9993911fe164        25 hours ago        181.4 MB

Now pull -a busybox

vic pull -a busybox
Pulling from library/busybox
56bec22e3559: Pull complete
a3ed95caeb02: Extracting [==================================================>]     32 B/32 B
Digest: sha256:98a0bd48d22ff96ca23bfda2fe1cf72034ea803bd79e64a5a5f274aca0f9c51c
Status: Downloaded newer image for library/busybox:latest
a3ed95caeb02: Pull complete

vic only attempts to pull the latest tagged image and states it completed successfully, but busybox doesn't appear in images:

 vic images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
nginx               latest              9993911fe164        26 hours ago        181.4 MB

Until we support this feature we should tell the user it's not supported via a returned error.

mdubya66 commented 8 years ago

Iceboxing

npakrasi commented 7 years ago

Added to 0.7.0 release notes known issues.