From ccf79ffb4bd874815f70d4a9dd245c5b31c7efec Mon Sep 17 00:00:00 2001 From: Travis Swicegood Date: Fri, 4 Jul 2014 13:30:54 -0500 Subject: [PATCH] Add a Docker plugin This just sets the `DOCKER_HOST` for OS X users so we don't have to keep setting it all over the place. --- plugins/available/docker.plugin.bash | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 plugins/available/docker.plugin.bash diff --git a/plugins/available/docker.plugin.bash b/plugins/available/docker.plugin.bash new file mode 100644 index 00000000..87975202 --- /dev/null +++ b/plugins/available/docker.plugin.bash @@ -0,0 +1,8 @@ +cite about-plugin +about-plugin 'Helpers to get Docker setup correctly for boot2docker' + +# Note, this might need to be different if you have an older version +# of boot2docker, or its configured for a different IP +if [[ `uname -s` == "Darwin" ]]; then + export DOCKER_HOST=tcp://192.168.59.103:2375 +fi