Skip to content

Local Docker / OrbStack

The local Provider runs Sandboxes and three-layer Snapshots directly on your workstation’s Docker, OrbStack, or Podman daemon. It is always available as the implicit local Rig even without a ~/.config/offrig/config.toml.

  • Testing your repository’s offrig.toml, Base Snapshot, Deps Snapshot, and Write-back rules before pushing to a remote Rig.
  • Running isolated Linux builds (--isolated, Linux x86_64/aarch64 toolchains) from macOS via OrbStack or Docker Desktop.

Override the socket path, idle timeout, or host-Docker opt-in explicitly:

Terminal window
offrig rig add local --provider local \
--socket /var/run/docker.sock \
--idle-minutes 30

Equivalent ~/.config/offrig/config.toml:

default_rig = "local"
[rigs.local]
provider = "local"
# socket = "/Users/you/.orbstack/run/docker.sock"
idle_minutes = 30
allow_host_docker = false
Terminal window
offrig rig doctor local