From b4dfa516c6804f35da032a20bd92e8420c030b38 Mon Sep 17 00:00:00 2001 From: Ryan Aslett Date: Wed, 7 May 2014 00:21:02 -0700 Subject: [PATCH] The Go template is a better pattern for documentation. Upstream-commit: 7549199cc5e1de910f5dbd539831095739524ea6 Component: engine --- components/engine/docs/sources/use/port_redirection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/docs/sources/use/port_redirection.md b/components/engine/docs/sources/use/port_redirection.md index 9f2ce98eae..19de4141ba 100644 --- a/components/engine/docs/sources/use/port_redirection.md +++ b/components/engine/docs/sources/use/port_redirection.md @@ -11,7 +11,7 @@ port. When this service runs inside a container, one can connect to the port after finding the IP address of the container as follows: # Find IP address of container with ID - $ docker inspect | grep IPAddress | cut -d '"' -f 4 + $ docker inspect --format='{{.NetworkSettings.IPAddress}}' However, this IP address is local to the host system and the container port is not reachable by the outside world. Furthermore, even if the