/etc/init.d/docker: prepend /usr/local/sbin to the $PATH

This is where the iptables wrapper lives.

Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
David Scott 2016-06-17 12:59:25 +01:00
parent 8311a37ff6
commit 530e61178b

View File

@ -68,6 +68,9 @@ start()
DOCKER_LOGFILE="/var/log/docker.log"
# Allow iptables to be overriden
export PATH=/usr/local/sbin:$PATH
start-stop-daemon --start --quiet \
--background \
--exec ${command} \