-
-
Save joelmoss/8829439 to your computer and use it in GitHub Desktop.
Revisions
-
joelmoss revised this gist
Feb 21, 2014 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -21,4 +21,12 @@ WantedBy=local.target sudo systemctl restart local-enable.service ``` ## Set `DOCKER_HOST` On yor local machine: ``` export DOCKER_HOST=tcp://VAGRANT_IP:4243 ``` Have fun! -
joelmoss revised this gist
Feb 5, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Description=docker local [Service] PermissionsStartOnly=true ExecStartPre=/usr/bin/systemctl kill docker.service ExecStart=/usr/bin/docker -d -H unix:// -H tcp:// [Install] WantedBy=local.target -
philips renamed this gist
Nov 20, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
philips created this gist
Nov 20, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ ## Add a local docker unit file Create a file called `/media/state/units/docker-local.service` that has the following contents: ``` [Unit] Description=docker local [Service] PermissionsStartOnly=true ExecStartPre=/usr/bin/systemctl kill docker.service ExecStart=/usr/bin/docker -d [Install] WantedBy=local.target ``` ## Enable the local docker ``` sudo systemctl restart local-enable.service ``` Have fun!