Replies: 1 comment 4 replies
-
There is some special magic on WSL port handling and overall WSL network stack seems to cause some troubles. How do you run podman on WSL, are you using podman machine? Does podman run as root or rootless? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I've been trying to use Testcontainers (helpful library to setup simulated environments from code) with podman. But I could not get it to work. It seems to be related to the testcontainers package always setting the
HostIp
to"0.0.0.0"
instead of""
(empty), when creating a container.Also see this discussion for more information: testcontainers/testcontainers-dotnet#1014
Now I've read that empty means dual stack, so binding to both ipv6 and ipv4 stack. Where
0.0.0.0
should only bind the ipv4 stack. See here: #17780 (comment)The thing is with the empty
HostIp
configuration I can reach my container just fine, but with0.0.0.0
binding it is unreachable. Should I consider this a bug with podman, or might it be WSL / Windows related, or anything specific with routing behavior.Currently using:
Beta Was this translation helpful? Give feedback.
All reactions