The Secret in the Layer
A credential was copied into an image and deleted in the next instruction. Find it in the layer that still has it, rebuild without it, and harden what runs.
Project labadvanced~40 minFree
What you'll do
- ✓Recover a credential from a built image rather than from source
- ✓Understand why deleting a file does not remove it from a layer
- ✓Pass a build credential without it becoming part of the image
- ✓Harden the runtime and keep the service working
Lab outline
- 01The leak
- 02Clean build
- 03Runtime
Before you start
- Containerize the Status API
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.