Runtime#

In scion, the Runtime is the infrastructure layer responsible for executing agent containers. Scion abstracts container execution behind a common interface.

Supported Runtimes#

RuntimePlatformNotes
DockerLinux / macOS / WindowsDefault fallback. Supports remote Docker hosts
PodmanLinux / macOSDaemonless, rootless alternative
Apple ContainermacOSNative Virtualization Framework, improved performance
KubernetesAny (via kubeconfig)Agents as Pods. Namespace isolation, resource specs, workspace sync via tar snapshots

Runtime Selection#

Resolved by GetRuntime factory function:

  1. Active profile’s runtime field in settings.yaml
  2. OS-level auto-detection (macOS with container CLI → Apple; Linux → Podman if available, else Docker)
  3. Explicit CLI flag override

Interface#

The Runtime interface provides: Run, Stop, Delete, List, GetLogs, Attach, ImageExists, PullImage, Sync, Exec, GetWorkspacePath.

See Also#