podman inspect returning empty Port bindings when running container inside a rootless podman container. #22480
Labels
documentation
Issue or fix is in project documentation
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.
stale-issue
Issue Description
podman inspect returning empty Port bindings when running container inside a rootless podman container. Container starts fine and running podman ps shows the running status.
Running
podman ps --all --format "{{.Names}} {{.Ports}} {{.Mounts}} {{.Status}}"
shows running container with missing ports data.Steps to reproduce the issue
Steps to reproduce the issue
podman run --rm -it --security-opt label=disable --user podman quay.io/podman/stable bash
podman run -d --rm --name postgres -e POSTGRES_PASSWORD=changeit -p 5432:5432 docker.io/postgres:14
podman port --all
which also returns empty response.Describe the results you received
NetworkSettings > Ports is empty
Describe the results you expected
Expected 5432/tcp port binding result.
podman info output
Podman in a container
Yes
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: