1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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)
This commit is contained in:
lalyos 2014-06-19 13:00:45 +02:00
parent b1c114c3a7
commit 40966fa096
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: 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 Typically, it is 192.168.59.103, but it could get changed by Virtualbox's DHCP
implementation. implementation.
@ -91,7 +91,7 @@ The Boot2Docker management tool provides several commands:
$ ./boot2docker $ ./boot2docker
Usage: ./boot2docker [<options>] 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/). 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: The Boot2Docker management tool provides several commands:
$ ./boot2docker $ ./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 ## Container port redirection