From fd6ce6d68b99f157ff4201299fac37e71f4633e5 Mon Sep 17 00:00:00 2001 From: lalyos Date: Thu, 19 Jun 2014 13:00:45 +0200 Subject: [PATCH] Fix installation docs to use the new boot2docker command: ip Docker-DCO-1.1-Signed-off-by: Lajos Papp (github: lalyos) Upstream-commit: 40966fa0966b3acd1893852a5297526374b690f2 Component: engine --- components/engine/docs/sources/installation/mac.md | 4 ++-- components/engine/docs/sources/installation/windows.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/engine/docs/sources/installation/mac.md b/components/engine/docs/sources/installation/mac.md index a982c59845..4677005ccd 100644 --- a/components/engine/docs/sources/installation/mac.md +++ b/components/engine/docs/sources/installation/mac.md @@ -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 [] - {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} [] Continue with the [User Guide](/userguide/). diff --git a/components/engine/docs/sources/installation/windows.md b/components/engine/docs/sources/installation/windows.md index 447d8b280f..a1c910ee6d 100644 --- a/components/engine/docs/sources/installation/windows.md +++ b/components/engine/docs/sources/installation/windows.md @@ -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 [] {help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|delete|download|version} [] + Usage: ./boot2docker [] {help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|ip|delete|download|version} [] ## Container port redirection