-
Notifications
You must be signed in to change notification settings - Fork 3k
BUG: loading multiple images saved by docker fails #2822
Copy link
Copy link
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.
Description
[Now that I have access to the nightly ppa's (cf. #2250), here's some more things I found. Companion to #2821]
Sometimes it's necessary to transfer images in bulk (say, to an environment that has restricted internet access). Loading images with podman saved by docker works for single images, but not if there's several (however, loading of several images saved by podman does not work either, see #2821).
| Saved by vs #images | single image | multiple images |
|---|---|---|
| podman | works | works |
| docker | works | fails |
(Note that docker checks all four boxes here, i.e. importing multiple images saved by podman works)
Steps to reproduce:
$ sudo docker pull ubuntu:bionic
$ sudo docker pull ubuntu:cosmic
$ sudo docker save ubuntu:bionic ubuntu:cosmic > podman_test.tar
$ sudo podman load -i podman_test.tar
The last command fails with:
ERRO[0001] Error pulling image ref podman_test.tar: Error determining manifest MIME type for docker-archive:podman_test.tar: Unexpected tar manifest.json: expected 1 item, got 2
Failed
ERRO[0001] Error pulling image ref podman_test.tar: Error determining manifest MIME type for dir:podman_test.tar: open podman_test.tar/manifest.json: not a directory
Failed
Error: error pulling "": unable to pull dir:podman_test.tar: unable to pull image: Error determining manifest MIME type for dir:podman_test.tar: open podman_test.tar/manifest.json: not a directory
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.