/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 80b234dd3e
commit dfb97863c9

View File

@ -60,6 +60,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} \