Adding --format= flag

Signed-off-by: Evan Allrich <evan@unguku.com>
This commit is contained in:
Evan Allrich 2016-02-06 09:39:20 -06:00 committed by Tibor Vass
parent aa46699081
commit a33942adf2
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ To get information on a container use its ID or instance name:
To get the IP address of a container use: To get the IP address of a container use:
$ docker inspect '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' d2cc496561d6 $ docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' d2cc496561d6
172.17.0.2 172.17.0.2
## Listing all port bindings ## Listing all port bindings