mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-12 11:32:28 +00:00
We now tell the 9P server proto1:ip1:port1:<address for forwarding> which means please listen on proto1:ip1:port1, then connect to the port proxy in Moby and tell it the connection is for <address for forwarding>. Note this requires a corresponding change in hostnet/vpnkit. Signed-off-by: David Scott <dave.scott@docker.com>
docker-proxy which can set up tunnels into the VM
This is a replacement for the built-in docker-proxy command, which
proxies data from external ports to internal container ports.
This program uses the 9P filesystem under /port to extend the port forward from the host running the Moby VM all the way to the container.
docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8080 -container-ip 172.17.0.2 -container-port 8080