Created
May 25, 2015 13:46
-
-
Save sroze/77631742849cbab8dc9e to your computer and use it in GitHub Desktop.
Docker bootstrap upstart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "Docker bootstrap" | |
script | |
# modify these in /etc/default/$UPSTART_JOB (/etc/default/docker-bootstrap) | |
DOCKER=/usr/bin/docker | |
DOCKER_OPTIONS="-d -H unix:///var/run/docker-bootstrap.sock -p /var/run/docker-bootstrap.pid --iptables=false --ip-masq=false --bridge=none --graph=/var/lib/docker-bootstrap" | |
if [ -f /etc/default/$UPSTART_JOB ]; then | |
. /etc/default/$UPSTART_JOB | |
fi | |
exec "$DOCKER" $DOCKER_OPTIONS | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment