You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
It's very useful to be able to get the boot2docker VM's IP and use it in scripts (to access docker containers that expose services on the docker host), and though there are two ways to do it now, both are convoluted and fickle:
It's very useful to be able to get the boot2docker VM's IP and use it in scripts (to access docker containers that expose services on the docker host), and though there are two ways to do it now, both are convoluted and fickle:
% DOCKER_IP=
echo $DOCKER_HOST | cut -d: -f2 | cut -c3-boot2docker ip% boot2docker ip
The VM's Host only interface IP address is: 192.168.59.103
This seems like a common use that that could be made much easier:
boot2docker ipjust output the IP address