← Back to Core Concepts
Core Concepts

Sandboxing

Five backends: local, Docker, SSH, Singularity, and Modal.

Switch backends

[sandbox]
backend = "docker"          # local | docker | ssh | singularity | modal
image   = "iris/sandbox:latest"
mounts  = ["./workspace:/workspace:rw"]
network = "none"            # hardened by default

Modal (serverless GPU)

[sandbox]
backend = "modal"
gpu     = "A10G"
timeout = 600