mirror of
https://github.com/containers/podman.git
synced 2025-10-19 20:23:08 +08:00

When a container has no image, i.e. using rootfs like our new infra containers then the Image function crashed trying to show the first 12 image ID chars. If there is no image simply show nothing there. Fixes: #26224 Signed-off-by: Paul Holzinger <pholzing@redhat.com> (cherry picked from commit 415668c802cb9988e856e56de5de1862fd746cb3) Signed-off-by: Paul Holzinger <pholzing@redhat.com>