Fix installation docs to use the new boot2docker command: ip

Docker-DCO-1.1-Signed-off-by: Lajos Papp <lajos.papp@sequenceiq.com> (github: lalyos)
Upstream-commit: 40966fa0966b3acd1893852a5297526374b690f2
Component: engine
This commit is contained in:
lalyos
2014-06-19 13:00:45 +02:00
parent 228f6d739b
commit fd6ce6d68b
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ If you run a container with an exposed port,
then you should be able to access that Nginx server using the IP address reported by:
$ boot2docker ssh ip addr show dev eth1
$ boot2docker ip
Typically, it is 192.168.59.103, but it could get changed by Virtualbox's DHCP
implementation.
@ -91,7 +91,7 @@ The Boot2Docker management tool provides several commands:
$ ./boot2docker
Usage: ./boot2docker [<options>]
{help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|delete|download|version}
{help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|ip|delete|download|version} [<args>]
Continue with the [User Guide](/userguide/).

View File

@ -63,7 +63,7 @@ This will download the small busybox image and print "hello world".
The Boot2Docker management tool provides several commands:
$ ./boot2docker
Usage: ./boot2docker [<options>] {help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|delete|download|version} [<args>]
Usage: ./boot2docker [<options>] {help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|ip|delete|download|version} [<args>]
## Container port redirection