EXAMPLE
Container Sandbox
Run an entire [Atmos workflow](https://atmos.tools/cli/commands/workflow) inside one shared container sandbox.
Try it out
- Install Atmos
- Try the example
Copy the example into a new directory and make it your own:
atmos init examples/container-sandbox
cd container-sandbox
Follow the README for prerequisites and next steps.
See it in action
RECORDED DEMO Real commands. Real output.
README.md1.1 KB
View on GitHubExample: Container Sandbox
Run an entire Atmos workflow inside one shared container sandbox.
Shell steps inherit the workflow-level container: configuration and execute in
the same long-lived container. The example writes a file in one containerized
step, reads it from another, opts one step out to run on the host, then cleans up
the generated file.
Try It
cd examples/container-sandbox# Preview the sandbox container and exec commandsatmos workflow sandbox -f container-sandbox --dry-run# Run the workflow. Requires Docker or Podman.atmos workflow sandbox -f container-sandbox
Key Files
| File | Purpose |
|---|---|
atmos.yaml | Configures the workflow base path |
workflows/container-sandbox.yaml | Workflow-level container sandbox example |