-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[apiv2] fails with 'runtime error: invalid memory address or nil pointer dereference' #6490
Comments
Thanks for opening the issue! I can reproduce the issue and will take a look. In case this issue is blocking you, you could use the |
Fix a bug when parsing the `ExposedPorts` of the image that lead to panics when the field was set. The OCI image spec allows three valid formats: `tcp/port`, `udp/port` and `port` Fixes: containers#6490 Reported-by: @jgallucci32 Signed-off-by: Valentin Rothberg <[email protected]>
I opened #6491 to fix the issue. There was a bug in the port-parsing logic. |
@vrothberg Thanks for addressing this so quicky! |
@vrothberg I just tested this with Fedora Rawhide and have verified this issue has been resolved with the latest build
Here is the correct output
|
Wonderful, thanks for double checking! |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Podman API returns an error when querying information for certain docker image
Steps to reproduce the issue:
Describe the results you received:
Results in the following error
Describe the results you expected:
Checking a different image such as
docker.io/library/hello-world
produces the expected resultsAdditional information you deem important (e.g. issue happens only occasionally):
It works with other rancher images such as
rancher/rancher-agent:v2.4.3
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
RHEL 7.8 Virtual Machine (KVM)
The text was updated successfully, but these errors were encountered: