Inspect Everything
Pull runtime facts out of a container with docker inspect.
A beginner Docker challenge worth 3 points. Solve it hands-on in a real Docker environment in your browser - no local setup, no fake shells.
The Challenge
Scenario: Quarterly audit. Compliance needs runtime facts about the billing container — and "I looked at the dashboard" doesn't count.
Tasks:
- Use
docker inspectto find billing's IP address and hostname - Write them to
/root/audit.txtas exactly two lines: ip=<container IP>hostname=<container hostname>
Commands to learn: docker inspect, -f/--format Go templates
Run check when done.