Files
bash-it/plugins/available/docker-machine.plugin.bash
Lyle Franklin 412bb7fc88 Replace ~ with $HOME in docker-machine plugin
The `~` caused docker commands to error with the following:
```
$ docker images
Could not read CA certificate "~/.docker/machine/machines/dev/ca.pem"
```
Switching to $HOME fixes the issue
2015-09-09 09:38:07 -07:00

12 lines
426 B
Bash

cite about-plugin
about-plugin 'Helpers to get Docker setup correctly for docker-machine'
# Note, this might need to be different if you use a machine other than 'dev',
# or its configured for a different IP
if [[ `uname -s` == "Darwin" ]]; then
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="$HOME/.docker/machine/machines/dev"
export DOCKER_TLS_VERIFY=1
export DOCKER_MACHINE_NAME="dev"
fi