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.
pull/310/merge
Travis Swicegood 2014-07-04 13:30:54 -05:00
parent c9c4b6ca3d
commit ccf79ffb4b
1 changed files with 8 additions and 0 deletions

View File

@ -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