mirror of https://github.com/docker/cli.git
[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 <dxia@spotify.com>
This commit is contained in:
parent
4903dd2ca2
commit
5840993e1c
|
@ -84,7 +84,7 @@ $ docker inspect --format='{{.LogPath}}' $INSTANCE_ID
|
||||||
### Get an instance's image name
|
### Get an instance's image name
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker inspect --format='{{.Container.Spec.Image}}' $INSTANCE_ID
|
$ docker inspect --format='{{.Config.Image}}' $INSTANCE_ID
|
||||||
```
|
```
|
||||||
|
|
||||||
### List all port bindings
|
### List all port bindings
|
||||||
|
|
Loading…
Reference in New Issue