| Stage | Purpose | Example Base |
|---|---|---|
| Build | Compile/package application | golang:1.21, node:18 |
| Final | Minimal runtime image | scratch, distroless, alpine |
COPY --from=builder /app/binary /app/binary to copy only the compiled artifact into the final stage.| Pattern | Purpose | Example |
|---|---|---|
| Sidecar | Extend/enhance main container | Log shipper, proxy |
| Init Container | Setup before main starts | DB migration, config fetch |
| Adapter | Normalize output | Metrics format converter |
| Ambassador | Proxy external access | Database proxy |
Read CKAD notes without distractions
Open Foci to run a focused study block while you review domains, tables, and exam tips.