Skip to content

Instantly share code, notes, and snippets.

@hagix9
Created November 24, 2013 09:39
Show Gist options
  • Save hagix9/7625243 to your computer and use it in GitHub Desktop.
Save hagix9/7625243 to your computer and use it in GitHub Desktop.
Docker 0.6.7
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