Can't connect to host from container when running podman compose
with rootless Podman 5
#24133
Replies: 3 comments 8 replies
-
You should be able to reach |
Beta Was this translation helpful? Give feedback.
-
This PR adds support for
when using pasta. As I understand it, this feature will hopefully be released in Podman 5.3.0 Currently you need to build the Podman git main branch to use the feature. I wrote a minimal example of how the Podman (built from the git main branch) behaves: |
Beta Was this translation helpful? Give feedback.
-
Looking from the noob perspective (I know nothing about pasta) what's the purpose of this ip sharing if it doesn't allow to connect from container to host?
What about |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Having the following
docker-compose.yaml
file:I run
then
and then
on the host.
Now I can't connect to http server running on the host from the container
although I can connect to it from the host itself:
Container network:
Host network:
SELinux is in permissive mode:
and firewall is disabled on host:
Any help much appreciated as I couldn't find solution after spending a few hours reading through all I could find on the subject.
Beta Was this translation helpful? Give feedback.
All reactions