-
I am new to "podman" and new to running Linux. But I have been trying hard for the last 4 days to figure out as I am running "rootless". And all the "podman" commands I run via a Windows CMD.EXE: I can run from CMD.EXE the following and see the "podman ascii art" appear: What I am looking to run is my machine's IPv4 address (and see the "podman ascii art"): If I use "Docker" and turn off all the "Podman" stuff, I can run the "swaggerapi/swagger-ui" on port 8080 I can't run the: And I was able to install the "slirp4netns" with the Are there other diagnostics I can run for clues? Running in the Terminal of the container: '# ip a '# route podman inspect no_poop[ podman network inspect podman1[ podman info --debughost:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
WSL2 does not allow such connections, see https://learn.microsoft.com/en-us/windows/wsl/networking#accessing-a-wsl-2-distribution-from-your-local-area-network-lan However podman v4.6 added a |
Beta Was this translation helpful? Give feedback.
-
Thank you! DOS> netsh interface portproxy add v4tov4 listenport=8081 listenaddress=0.0.0.0 connectport=8080 connectaddress=127.0.0.1 did the trick! And then "curl 172.17.12.96:8081" works fine. For me and local work colleagues on PC's across our network. |
Beta Was this translation helpful? Give feedback.
WSL2 does not allow such connections, see https://learn.microsoft.com/en-us/windows/wsl/networking#accessing-a-wsl-2-distribution-from-your-local-area-network-lan
However podman v4.6 added a
--user-mode-networking
topodman machine init
that should make it work AFAIK.