docker inspect
docker inspect [-f <template>] <name>
Risk: Safe
What it does
Shows everything Docker knows about a container, image, volume or network.
When to use it
To find an exact detail, like an IP address or exit code.
Example
$ docker inspect -f '{{.State.Status}}' webJust the state of web.
Learn it in: Container states: ps -a and inspect · Official docs