Docker and CI/CD · Junior · Question 68 of 75
What does docker inspect <container> show?
- 1A live view of the container's CPU and memory
- ✓Correct answer: Detailed JSON: config, mounts, network and state
- 3The Dockerfile that the image was built from
Explanation
It's the go-to command for checking env variables, mounts, IP addresses and exit codes. docker stats shows live resource usage.