--- title: "Devcontainers" description: "Using repository devcontainer metadata with Fabro environments" --- Named environments are the supported configuration surface for run execution. Define reusable environments under `[environments.]` and select one with `[run.environment] id = "..."`. Devcontainer-specific run configuration (`[run.sandbox] devcontainer = true`) has been removed with the named environments configuration break. To use a devcontainer-style image today, build or reference it through an environment image: ```toml [run.environment] id = "dev" [environments.dev] provider = "docker" [environments.dev.image] ref = "ghcr.io/acme/project-devcontainer:latest" ``` For Daytona snapshot creation, provide a Dockerfile path on the selected environment: ```toml [run.environment] id = "cloud-dev" [environments.cloud-dev] provider = "daytona" [environments.cloud-dev.image] ref = "project-dev" dockerfile = { path = ".devcontainer/Dockerfile" } ```