Created
November 24, 2013 09:39
-
-
Save hagix9/7625243 to your computer and use it in GitHub Desktop.
Docker 0.6.7
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 daemon" | |
start on filesystem and started lxc-net | |
stop on runlevel [!2345] | |
respawn | |
script | |
DOCKER=/usr/bin/$UPSTART_JOB | |
DOCKER_OPTS= | |
if [ -f /etc/default/$UPSTART_JOB ]; then | |
. /etc/default/$UPSTART_JOB | |
fi | |
"$DOCKER" -d $DOCKER_OPTS | |
end script | |
vi /etc/default/docker | |
DOCKER_OPTS="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment