Skip to content

Compute — Docker

Docker (or OCI images): one portable process image from laptop → CI → any host that runs containers (Fly, Cloud Run, ECS, raw VM, k8s).

  • Same runtime locally and in prod matters
  • You’re not ready for k8s, but need more than a pure function
  • Multi-language monorepo deploy units each get an image (Path 04)
  • Static site only — Vercel / Cloudflare / Pages may be enough
  • You need full cluster scheduling tomorrow and have the ops — Kubernetes
flowchart TD
A[Dockerfile: one process, non-root] --> B[test-it outside image + smoke in image]
B --> C[repos ci: build + scan + push registry]
C --> D[ESC for registry + runtime secrets]
D --> E[Run on one host/platform]
E --> F[observe-it: health, logs, restarts]

repos ci harden · repos secrets · test-it · kiss (one image per unit) · tidy-up (prune dangling images/build cache) · ship-it / stage-it

  • Fat images and “latest” tags without digests in prod
  • Secrets in image layers
  • Divergent Compose vs prod without a smoke test