Browse Source

Merge pull request #31901 from davidxia/fix-docs

[docs] Fix incorrect `docker inspect` example
Sebastiaan van Stijn 8 years ago
parent
commit
b385a9156e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/commandline/inspect.md

+ 1 - 1
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