Browse Source

Merge pull request #17973 from moxiegirl/fix-networking-issue

Fixing issue noted by user
David Calavera 9 years ago
parent
commit
0780ad4857
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/userguide/networkingcontainers.md

+ 1 - 1
docs/userguide/networkingcontainers.md

@@ -201,7 +201,7 @@ Which network is your `web` application running under? Inspect the application a
 
 
 Then, get the IP address of your `web`
 Then, get the IP address of your `web`
 
 
-    $ docker inspect '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' web
+    $ docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' web
     172.17.0.2
     172.17.0.2
 
 
 Now, open a shell to your running `db` container:
 Now, open a shell to your running `db` container: