go-containerregistry icon indicating copy to clipboard operation
go-containerregistry copied to clipboard

Support crane push tarBall contains more than one image?

Open dashjay opened this issue 3 years ago • 10 comments

when I push a tarball with only one image in it, crane works very well, but when I push a tarball contains more than one image, error throw out.

crane push /tmp/bundle.tar docker-registry.com
Error: loading /tmp/bundle.tar as tarball: tarball must contain only a single image to be used with tarball.Image
exit status 1

Instead, pull can work for more than one image with crane pull image:tag image2:tag ... /tmp/bundle.tar

I don't know if there is any other considerations that block this.

dashjay avatar Aug 20 '21 07:08 dashjay