mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
The golden image ships Ubuntu's docker.io, docker-compose-v2 and docker-buildx (pinned in the manifest; daemon.json: overlay2, local log driver with caps, mirror.gcr.io registry mirror). dockerd runs rootful inside the workspace's microVM and is never started at boot: the new /opt/orca/bin/docker shim (image/vm/docker, first on PATH) starts it on the first command that needs it (0.3 s in the spike), says once what differs from a laptop (containers stop on sleep; credential hosts need the proxy CA mounted), then execs plain docker. An image without Docker says so instead of waiting. Off switch: SANDBOX_DOCKER=off (Worker var, default on) sends ORCA_DOCKER=off on every boot; orca-sandbox-start leaves ~/.orca-sandbox/docker.off and the shim refuses with a plain message. Starts without the flag (retries, repairs) keep the VM's last answer. Egress: CONTAINER_REGISTRY_HOSTS (mirror.gcr.io, Docker Hub, GHCR) join the default allowlist. Docs: cloud/docs/sandbox-docker.md (incl. the proxy-CA mount). Golden rotation carries only this change, with the Worker deployed from the same commit (runbook 1.8a).