Fixed incorrect `docker inspect` example in docs.
Verify by running the old and new commands.
fixes #31900
Signed-off-by: David Xia <dxia@spotify.com>
| ... | ... |
@@ -63,7 +63,7 @@ $ docker inspect --format='{{.LogPath}}' $INSTANCE_ID
|
| 63 | 63 |
### Get an instance's image name |
| 64 | 64 |
|
| 65 | 65 |
```bash |
| 66 |
-$ docker inspect --format='{{.Container.Spec.Image}}' $INSTANCE_ID
|
|
| 66 |
+$ docker inspect --format='{{.Config.Image}}' $INSTANCE_ID
|
|
| 67 | 67 |
``` |
| 68 | 68 |
|
| 69 | 69 |
### List all port bindings |