A dependent waits for one startup health condition, then remains running when that dependency later becomes unhealthy.

Compose startup ordering needs an explicit readiness condition

Docker Compose describes a graph of services and can start them according to declared dependencies. Process startup is only one possible condition in that graph. A database or API may be running before it can accept the operation another service needs. An explicit service_healthy condition lets Compose wait for a dependency’s configured healthcheck before starting the dependent service, provided that check represents meaningful readiness. ...

April 8, 2027 · 5 min · XB Field Notes
Two application images share a base and library while separate writable layers hold runtime edits.

Related images share layers; running containers keep separate changes

An image describes an ordered filesystem assembled from immutable layer changesets, together with configuration such as its default command. Related images can reference the same base layers while adding different application files. A running container gets its own writable layer above that image. Distinguishing those three things explains how image reuse saves work without making every container’s runtime edits visible to its neighbors. ...

March 22, 2027 · 5 min · XB Field Notes