소스 검색

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

Fixing issue noted by user
David Calavera 9 년 전
부모
커밋
0780ad4857
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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`
 
-    $ docker inspect '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' web
+    $ docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' web
     172.17.0.2
 
 Now, open a shell to your running `db` container: