Docker Community Forums

Share and learn in the Docker community.

Can i read saved image's meta data without loading it to docker?

docker

(Ninjadude) #1

hi,
i used
Docker save busybox:latest -o bb.tar
and created a file of the docker image named bb.tar, is there a way to read the original name and tag of the image file without loading it back to docker?

for example:
if i have the files bb.tar, bb-old.tar and bb-new.tar, and i want to programatically check their real versions, so i can choose which one to load.

thanks
david