podman pod stop and podman pod start don't reopen ports to containers #7103
Labels
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
After
podman pod restart <name>
the containers will be still accessible from the host.After
podman pod stop <name>; podman pod start <name>
they are notSteps to reproduce the issue:
podman pod create --name test -p "9200:9200"
podman run -d --pod test -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.6.2
podman pod stop test
podman pod start test
curl localhost:9200/_cat
Describe the results you received:
I get
curl: (7) Failed to connect to localhost port 9200: Connection refused
Describe the results you expected:
I would expect the port to be reachable
Additional information you deem important (e.g. issue happens only occasionally):
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.):
The text was updated successfully, but these errors were encountered: