From 78ba5d58e6280f879fa45dd4c73f8284dd4ec031 Mon Sep 17 00:00:00 2001 From: Evan Allrich Date: Sat, 6 Feb 2016 09:39:20 -0600 Subject: [PATCH] Adding --format= flag Signed-off-by: Evan Allrich --- man/docker-inspect.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/docker-inspect.1.md b/man/docker-inspect.1.md index 05c60787ea..6bb6a5809d 100644 --- a/man/docker-inspect.1.md +++ b/man/docker-inspect.1.md @@ -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: - $ docker inspect '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' d2cc496561d6 + $ docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' d2cc496561d6 172.17.0.2 ## Listing all port bindings