Docker · hands-on lab
Docker Lab 22: Compose for Real Projects (Profiles, Overrides, Scaling)
Use .env variables, override files, profiles, scaling and docker compose config to manage environments.
- 45 minutesTime in the lab
- AdvancedLevel
- 4 tasksChecked automatically
- CertificateVerifiable link when you finish
The situation
The same project must run in development (with a debug tool) and in production (more replicas, fixed ports).
What you will do
- Guided exercise: Variables
- Guided exercise: A profile
- Lab: Production override
- configquestion
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.