Files
linuxkit/alpine/packages/proxy
David Scott cc52a5d553 proxy: split the execProxy function into parts
Previously `execProxy` would
- create the proxy
- signal success/failure to the parent
- run forever (until signalled)

Since we want to add more proxy setup and teardown, this patch
removes the proxy creation from `execProxy` and renames it to
`proxyForever`. Later patches will be able to perform the necessary
side-effects before signalling success to the parent.

Signed-off-by: David Scott <dave.scott@docker.com>
2016-04-04 12:41:02 +01:00
..
2016-04-04 12:41:02 +01:00
2016-04-04 12:41:02 +01:00

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