Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
There was an error while loading. Please reload this page.
boot2docker ip just output IP for easy use in scripts #310
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