Commit Graph
4 Commits
Author SHA1 Message Date
Neil 1ffa40e87c feat(cloud): docker first-use message states the measured time (7.5 s on dev) 2026-11-13 04:08:21 -08:00
Neil ba3962d9cc feat(cloud): Docker installs on first use instead of in the golden (+5 s create p50 measured) 2026-11-13 02:55:10 -08:00
Neil 6ae882e132 fix(cloud): keep the default egress allowlist unchanged for Docker; registries go to #525's limited preset 2026-11-13 02:27:31 -08:00
Neil 41894956d0 feat(cloud): Docker in Orca Cloud workspaces (PARITY-DOCKER)
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).
2026-11-13 02:25:21 -08:00