❯ docker pull ubuntu && docker images | grep ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
Digest: sha256:3f119dc0737f57f704ebecac8a6d8477b0f6ca1ca0332c7ee1395ed2c6a82be7
Status: Image is up to date for ubuntu:latest
ubuntu latest 735f80812f90 6 days ago 83.5MB
ubuntu <none> 74f8760a2a8b 2 weeks ago 82.4MB
10:20:37 sajay
❯ docker manifest inspect ubuntu | jq '.manifests[] | select(.platform.os=="linux" and .platform.architecture=="amd64") | .digest '
"sha256:958eaeb7e33e6c4f68f7fef69b35ca178c7f5fb0dd40db7b44a8b9eb692b9bc5"
10:20:59 sajay
❯ docker manifest inspect ubuntu@sha256:958eaeb7e33e6c4f68f7fef69b35ca178c7f5fb0dd40db7b44a8b9eb692b9bc5 | jq '[ .layers[] | .size ] | add'
31661203
Created
August 2, 2018 17:24
-
-
Save sajayantony/db68e551a8990c1a072085e72ba6c9f1 to your computer and use it in GitHub Desktop.
Images sizes explained
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment