Skip to main content

Module container

Module container 

Source
Expand description

Approved-container lifecycle for the isolated Chromium runner.

The caller approves the image and the static build. The launcher enforces pinning, directory shape, and mount-spec safety, starts the container with a fixed hardening flag set over argv (never a shell), and tears down the exact container it started. The flag set never degrades: any failure refuses the target instead of launching weaker isolation.

Structs§

ContainerHandle
Handle to the exact container started for an approved spec. Dropping the handle kills the attached client; use ContainerHandle::terminate to deterministically remove the exact container.
ContainerSpec
A validated image and build pair for one approved container.

Enums§

TerminateOutcome
What terminate found: the container it removed, or one already gone.

Functions§

docker_available
Whether a Docker daemon answers. Callers use this to skip container-backed checks (and to refuse the browser target) without failing the run.