Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Podman commit doesn't copy the exposed ports list correctly #2066
When using podman to commit a running-container, the ExposedPorts list contains extra corrupted entries.
Steps to reproduce the issue:
Describe the results you received:
The port list contains an unknown entries. Then trying to run the image fails:
Describe the results you expected:
The exposed port list should be properly copied.
Additional information you deem important (e.g. issue happens only occasionally):
The number of extra port added grows with the number of exposed port, here is an inspect output of a container with 3 ports saved:
Additional environment details (AWS, VirtualBox, physical, etc.):