clusterflux-public/docs/environments.md
Clusterflux release 8ded2b6a42 Public release release-98d969b26488
Source commit: 98d969b26488b4cda8b2381fa870276a00ca98ea

Public tree identity: sha256:d02dd1e8d3547a489bb300741bed544bdc60bb8fe0bd541fd43ce9bfa7129a3e
2026-07-16 15:49:35 +02:00

935 B

Environments

Declare environments in the bundle under:

envs/<name>/Containerfile
envs/<name>/Dockerfile

Reference one by logical name:

use clusterflux::env;

let linux = env!("linux");

Bundle inspection reports every discovered environment and its digest:

clusterflux bundle inspect --project .

The bundle definition is authoritative for every spawn. The coordinator passes the declared environment identity and digest in the TaskSpec, and the node resolves that exact definition. A same-named local recipe with different bytes is rejected rather than substituted.

On Linux, container-backed environments use rootless Podman. Clusterflux does not enable privileged containers by default.

A task may use a bind-mounted local checkout for speed. That source path is non-hermetic. Choose a source snapshot when you need a reproducible input identity independent of the current working tree.