Przeglądaj źródła

Merge pull request #19574 from polonskiy/patch-2

fixed typo
Vincent Demeester 9 lat temu
rodzic
commit
c3a9ecedba
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      docs/reference/commandline/inspect.md

+ 1 - 1
docs/reference/commandline/inspect.md

@@ -41,7 +41,7 @@ straightforward manner.
 For the most part, you can pick out any field from the JSON in a fairly
 straightforward manner.
 
-    $ docker inspect '{{range .NetworkSettings.Networks}}{{.MacAddress}}{{end}}' $INSTANCE_ID
+    $ docker inspect --format='{{range .NetworkSettings.Networks}}{{.MacAddress}}{{end}}' $INSTANCE_ID
 
 **Get an instance's log path:**