docker inspect

Practice docker inspect from memory. inspect returns full JSON. Use with docker inspect --format to extract specific fields: docker inspect --format={{.State

Show detailed JSON metadata for the nginx1 container.

docker inspect nginx1

inspect returns full JSON. Use with docker inspect --format to extract specific fields: docker inspect --format={{.State.Status}} nginx1

Safety: Inspect state before stopping, pruning, or changing running containers.

Build the habit: DockerDrill drills docker inspect and the rest of the Docker workflow until the safe first move is automatic. Try a Docker drill.