Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wsl: usernet: Don't always bind to port 2222
podman-machine starts gvproxy without specifying -ssh-port. This means it will always bind port 2222 (see containers/gvisor-tap-vsock#402), effectively bypassing the dynamic ssh port allocation. I don't think wsl needs this port to be opened/bound on the host, but this commit starts gvproxy with -ssh-port set to the dynamic SSH port to avoid port conflicts with crc. When gvproxy allows to disable this port forwarding entirely, we can revise this. This should fix containers#20327 Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
- Loading branch information