Docker · hands-on lab
Docker Lab 15: Build Arguments, Labels and the Build Cache
Use ARG and LABEL, order instructions for good caching, build without cache and filter images by label.
- 40 minutesTime in the lab
- IntermediateLevel
- 5 tasksChecked automatically
- CertificateVerifiable link when you finish
The situation
Builds are slow and nobody knows which version is inside an image. You fix both.
What you will do
- Guided exercise: ARG and LABEL
- Guided exercise: Filter by label
- Lab: Rebuild without cache
- Cache orderquestion
- ARG and ENVquestion
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.