From 139757613b5981ba08326e6728985708f32964ea Mon Sep 17 00:00:00 2001 From: Diego Quintana Date: Thu, 21 Jun 2018 15:17:47 -0400 Subject: [PATCH] Update Container_Networking_Basics.md Added needed single quotes. I've also moved `nginx` to the end of the line, to follow a more consistent syntax (`options` before `name|id`). ``` Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects Options: -f, --format string Format the output using the given Go template -s, --size Display total file sizes if the type is container --type string Return JSON for specified type ``` --- slides/intro/Container_Networking_Basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/intro/Container_Networking_Basics.md b/slides/intro/Container_Networking_Basics.md index cdab1464..bb6fed53 100644 --- a/slides/intro/Container_Networking_Basics.md +++ b/slides/intro/Container_Networking_Basics.md @@ -98,7 +98,7 @@ $ curl localhost:32768 * We can see that metadata with `docker inspect`: ```bash -$ docker inspect nginx --format {{.Config.ExposedPorts}} +$ docker inspect --format '{{.Config.ExposedPorts}}' nginx map[80/tcp:{}] ```