Skip to content

Docker isolation, proven with a real run: evidence and recommendation - #25

Open
nishantkluhera wants to merge 1 commit into
issue-3-browser-computer-use-writeupfrom
issue-4-docker-isolation
Open

Docker isolation, proven with a real run: evidence and recommendation#25
nishantkluhera wants to merge 1 commit into
issue-3-browser-computer-use-writeupfrom
issue-4-docker-isolation

Conversation

@nishantkluhera

Copy link
Copy Markdown

Supplementary measured evidence for #4 (closed): live runs through the real DockerEnvironment on Docker Desktop 29.0.1/WSL2 - cold start 1.27s, warm exec 0.17s, host GITHUB_TOKEN verifiably absent inside the container (probed with and without a host token), public clones + pip installs work, private auth correctly fails without egress tokens.

Recommendation recorded: docker backend for unattended runs against repos that aren't ours, paired with hermes egress enforce_on_docker.

Doc in mershlab/research/. Merge order: #24 first, then this.

Read base.py + the 2,050-line docker backend end to end: enabling is
two config keys (terminal.backend + optional docker_image), one
long-lived labeled container per (task, profile) with cross-process
reuse and an orphan reaper, cap-drop-ALL hardening, and deliberate
secret non-forwarding.

Live evidence on this machine (Docker Desktop 29.0.1/WSL2), driving
the real DockerEnvironment class: cold start 1.27s, warm exec 0.17s,
host GITHUB_TOKEN verifiably absent inside the container (probed both
with and without a host token), public clones + pip installs work,
private auth correctly fails without egress-proxy tokens.

Recommendation: docker backend for unattended runs against repos that
aren't ours, paired with hermes egress enforce_on_docker; local stays
for interactive sessions. Latency fear retired by measurement.

Closes #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant