Merge pull request #570 from ljfranklin/PR-use-HOME-in-docker-machine
Replace `~` with $HOME in docker-machine plugin
This commit is contained in:
@@ -5,7 +5,7 @@ about-plugin 'Helpers to get Docker setup correctly for docker-machine'
|
|||||||
# or its configured for a different IP
|
# or its configured for a different IP
|
||||||
if [[ `uname -s` == "Darwin" ]]; then
|
if [[ `uname -s` == "Darwin" ]]; then
|
||||||
export DOCKER_HOST="tcp://192.168.99.100:2376"
|
export DOCKER_HOST="tcp://192.168.99.100:2376"
|
||||||
export DOCKER_CERT_PATH="~/.docker/machine/machines/dev"
|
export DOCKER_CERT_PATH="$HOME/.docker/machine/machines/dev"
|
||||||
export DOCKER_TLS_VERIFY=1
|
export DOCKER_TLS_VERIFY=1
|
||||||
export DOCKER_MACHINE_NAME="dev"
|
export DOCKER_MACHINE_NAME="dev"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user