mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-06 10:19:15 +00:00
Linux xargs calls the command with no arguments if it gets no inputs, which `docker rmi` complains about. It provides -r / --no-run-if-empty to prevent this but unfortunately this isn't supported on OSX. Ignore errors from `docker rmi` so that `make clean` will keep going and clean up later stuff. Signed-off-by: Ian Campbell <ian.campbell@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