plugins/boot2docker: use `$OSTYPE` instead of `$(uname)`
parent
7f150aaf72
commit
abb0634769
|
|
@ -3,7 +3,7 @@ about-plugin 'Helpers to get Docker setup correctly for boot2docker'
|
||||||
|
|
||||||
# Note, this might need to be different if you have an older version
|
# Note, this might need to be different if you have an older version
|
||||||
# of boot2docker, or its configured for a different IP
|
# of boot2docker, or its configured for a different IP
|
||||||
if [[ `uname -s` == "Darwin" ]]; then
|
if [[ "$OSTYPE" == 'darwin'* ]]; then
|
||||||
export DOCKER_HOST="tcp://192.168.59.103:2376"
|
export DOCKER_HOST="tcp://192.168.59.103:2376"
|
||||||
export DOCKER_CERT_PATH="~/.boot2docker/certs/boot2docker-vm"
|
export DOCKER_CERT_PATH="~/.boot2docker/certs/boot2docker-vm"
|
||||||
export DOCKER_TLS_VERIFY=1
|
export DOCKER_TLS_VERIFY=1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue