Skip to content

How to access rootful container's published port from outside? #24060

Answered by davispuh
davispuh asked this question in Q&A
Discussion options

You must be logged in to vote

This was such a PITA to find out, but basically podman container was starting before firewalld had started so only iptables was setup but later when firewalld started it switched over to nftables but those doesn't have rules for container.
I fixed this by adding After=firewalld.service in container systemd unit and now it always works.

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@davispuh
Comment options

Comment options

You must be logged in to vote
2 replies
@rhatdan
Comment options

@davispuh
Comment options

Comment options

You must be logged in to vote
2 replies
@rhatdan
Comment options

@davispuh
Comment options

Answer selected by davispuh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants