Documentation
¶
Overview ¶
Package docker is the local-Docker backend: a runtime.Compute (per-sandbox network + the main toolchain container the supervisor runs in, delivered via `docker cp` + `docker exec`) and a runtime.Backing (the compose engine). cmd's buildRuntime dispatches to it for the `runtime: { docker: … }` block (and by default when a sandbox declares no runtime).
mdev never parses compose files: services are brought up by the compose engine and their routes discovered by inspecting the running containers (one "<service>-<port>" route per EXPOSEd port; see runtime.Routes).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForceCleanup ¶
ForceCleanup removes everything a sandbox may have left behind — its labeled containers, its compose-managed backing services, and its network. Best-effort and idempotent; used by the daemon's sandbox_down when no `mdev up` host process is tracked (e.g. after a daemon restart).