Inspecting Containers and Images

LEVEL 0

The Problem

You need detailed information about a container or image.

  • What environment variables are set?
  • What volumes are mounted?
  • What’s the container’s IP address?
  • What layers make up this image?
  • When was this image built?

docker ps gives you basic info. But for deep inspection, you need docker inspect.