Podman panics when Image ID is passed to pod create --infra-image
#9374
Labels
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
The
--infra-image
flag topodman pod create
panics when an image is specified by its ID, instead of its name. The image in question also had no tags, which could be a contributing factor.Steps to reproduce the issue:
Select any valid, untagged image available on your system and copy it's ID.
podman pod create --name testpod --infra-image <ID>
Describe the results you received:
panic: runtime error: index out of range [0] with length 0
Describe the results you expected:
Pod and infra image are created successfully.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Originally observed on v2.2.1. Reproduces with v3.0 and latest code as well.
The text was updated successfully, but these errors were encountered: