Docker · hands-on lab
Docker Lab 11: Configure the Docker Engine (daemon.json, Logging, Storage Driver)
Read docker info, set default logging and labels in /etc/docker/daemon.json, restart the engine safely and use docker contexts.
- 40 minutesTime in the lab
- IntermediateLevel
- 6 tasksChecked automatically
- CertificateVerifiable link when you finish
The situation
Every new container on this host must rotate its logs by default, and the host needs a label for inventory.
What you will do
- Guided exercise: Storage driverquestion
- Guided exercise: Default log options
- Guided exercise: New containers get the defaults
- Lab: A context for this engine
- Live restorequestion
- Daemon logsquestion
How it works
The lab opens in your browser: a real terminal or desktop, nothing to install. Work through the tasks, press Check after each one and the portal verifies your work. Stuck? Ask for a hint. Finish every task and you get a certificate page with its own verification link for LinkedIn or your CV.