To prevent the podman remote client from using libimage which causes a
lot of bloat due the c/image and c/storage dependencies add the
`!remote` tag.
This will cause a hard compile time failure if the remote client ends up
pulling in libimage.
Fixes#1702
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
When importing, first create the image and tag it afterwards. This also
makes sure that an imported image *without* a tag is correctly listed as
"<none>". Previously, such images were tagged as
"docker.io/library/sha256:$ID" (inherited from older Podman code).
Context: containers/podman/issues/10854
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Add a unit test exercising image import. It is not extensive but will
do the work of catching regressions. More tests to increase coverage
can be added later.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>