Skip to content

Instantly share code, notes, and snippets.

@petems
Created March 9, 2016 15:48
Show Gist options
  • Save petems/3d4e04cba2de2bacc658 to your computer and use it in GitHub Desktop.
Save petems/3d4e04cba2de2bacc658 to your computer and use it in GitHub Desktop.
description "Docker Bootstrap"
author "Me"
start on filesystem and started docker
stop on runlevel [!2345]
respawn
script
/usr/bin/docker -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
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment