Skip to content

Instantly share code, notes, and snippets.

@nathanleclaire
Last active August 29, 2015 13:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save nathanleclaire/9927571 to your computer and use it in GitHub Desktop.
Systemd script to initialize docker daemon in CoreOS Vagrant box for talking to from OSX.
[Unit]
Description=docker local
[Service]
PermissionsStartOnly=true
ExecStartPre=/usr/bin/systemctl kill docker.service
ExecStart=/usr/bin/docker -H 0.0.0.0:4243 -H unix:///var/run/docker.sock -d
[Install]
WantedBy=local.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment