//
Search across all documentation pages
10 pages in this section.
The build model - instructions produce cached, stacked layers assembled into one runnable image
`FROM`, `RUN`, `COPY`, `CMD`/`ENTRYPOINT` semantics
OverlayFS, copy-on-write, and why layer order decides both cache hits and final image size
Compile in builder stage; ship minimal runtime image
`linux/amd64` + `arm64` manifests for Apple Silicon and Graviton
Keep contexts small; never send `.git` to the daemon
`USER` directive and filesystem permissions
Order layers for cache; pin base image digests