Is your enhancement related to a problem? Please describe
When running Podman Desktop on Windows, containers running in the Podman machine are accessible from the Windows host from localhost. However, because of how WSL2 works (see details), those services are not accessible when using the PC domain name or IP address (e.g. ..local).
Windows requires to run the CLI netsh interface portproxy for each port we want to access via PC domain name or IP address.
The forward needs to be towards the WSL2 IP address, which is dynamic and changes on each reboot. So every time a Windows machine is started, before being able to consume Podman service, the Windows proxy need to be reconfigured.
Describe the solution you'd like
I would like Podman Desktop to transparently take care of setting up the proxy in Windows to allow accessing Podman containers from the PC domain name or IP address. That's something that Docker Desktop does.
Describe alternatives you've considered
No real alternative here. Would it be possible to implement a Podman exception that intercepts container events and configures the proxy dynamically?
Additional context
No response
Is your enhancement related to a problem? Please describe
When running Podman Desktop on Windows, containers running in the Podman machine are accessible from the Windows host from
localhost. However, because of how WSL2 works (see details), those services are not accessible when using the PC domain name or IP address (e.g. ..local).Windows requires to run the CLI netsh interface portproxy for each port we want to access via PC domain name or IP address.
The forward needs to be towards the WSL2 IP address, which is dynamic and changes on each reboot. So every time a Windows machine is started, before being able to consume Podman service, the Windows proxy need to be reconfigured.
Describe the solution you'd like
I would like Podman Desktop to transparently take care of setting up the proxy in Windows to allow accessing Podman containers from the PC domain name or IP address. That's something that Docker Desktop does.
Describe alternatives you've considered
No real alternative here. Would it be possible to implement a Podman exception that intercepts container events and configures the proxy dynamically?
Additional context
No response