Explicitly use slirp-proxy in iptables

So as to allow a read only root filesystem, we use the proxy
path config option to override the Docker proxy for 1.13.

This means that the iptables override needs to call this binary
not the original docker-proxy binary to allow port forwarding.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-11-23 13:48:27 +00:00
parent f2b8beb0ee
commit 545b12ee7d

View File

@ -6,7 +6,7 @@
*)
let _iptables = "/sbin/iptables"
let _proxy = "/usr/bin/docker-proxy"
let _proxy = "/usr/bin/slirp-proxy"
let _pid_dir = "/var/run/service-port-opener"
type port = {