From 5840993e1c9fd6395dcb81668f08c64b99542a28 Mon Sep 17 00:00:00 2001 From: David Xia Date: Thu, 16 Mar 2017 16:48:04 -0400 Subject: [PATCH] [docs] Fix incorrect `docker inspect` example Fixed incorrect `docker inspect` example in docs. Verify by running the old and new commands. fixes #31900 Signed-off-by: David Xia --- docs/reference/commandline/inspect.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/commandline/inspect.md b/docs/reference/commandline/inspect.md index 5b33b0ba19..9ce4f5f517 100644 --- a/docs/reference/commandline/inspect.md +++ b/docs/reference/commandline/inspect.md @@ -84,7 +84,7 @@ $ docker inspect --format='{{.LogPath}}' $INSTANCE_ID ### Get an instance's image name ```bash -$ docker inspect --format='{{.Container.Spec.Image}}' $INSTANCE_ID +$ docker inspect --format='{{.Config.Image}}' $INSTANCE_ID ``` ### List all port bindings