Updated boot2docker settings
Changed port to 2376. Added cert path and TLS verify.pull/513/head
parent
5e61b73a87
commit
27c5500873
|
|
@ -4,7 +4,9 @@ about-plugin 'Helpers to get Docker setup correctly for boot2docker and to more
|
||||||
# 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 [[ `uname -s` == "Darwin" ]]; then
|
||||||
export DOCKER_HOST=tcp://192.168.59.103:2375
|
export DOCKER_HOST=tcp://192.168.59.103:2376
|
||||||
|
export DOCKER_CERT_PATH=~/.boot2docker/certs/boot2docker-vm
|
||||||
|
export DOCKER_TLS_VERIFY=1
|
||||||
|
|
||||||
docker-enter() {
|
docker-enter() {
|
||||||
boot2docker ssh '[ -f /var/lib/boot2docker/nsenter ] || docker run --rm -v /var/lib/boot2docker/:/target jpetazzo/nsenter'
|
boot2docker ssh '[ -f /var/lib/boot2docker/nsenter ] || docker run --rm -v /var/lib/boot2docker/:/target jpetazzo/nsenter'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue