[Feature]: Guide for running an execution machine on a cloud VM (boxd)
Problem
The Compose deployment mounts the host Docker socket so AI SOPs run out of the box, and docs/deployment.md explains that this is equivalent to root on the host. The alternative it suggests is to remove the socket and connect a separate Docker-capable worker or execution machine. There is no guide yet for setting one up on a cloud VM, so most people keep the socket.
Proposed behavior
A short guide in docs/deployment.md (or a page under docs/) for running an execution machine on a cloud VM, using boxd as the example. boxd machines are full Linux VMs with Docker installed, so the runner and its Docker sandboxes run there, away from the platform host:
- Create a machine and open a shell on it.
- Install the runner with
/runners/install.shand the binding code from the execution-machine page. - Remove the
docker.sockvolume andAGENTFLOW_LOCAL_SANDBOXfromcompose.yamlon the platform host.
I work on boxd. If you are open to it, I would test the steps end to end against a real LoopForge install and open a docs-only PR. No code changes.
Scope
Documentation
Alternatives considered
A boxd sandbox driver that gives every task its own VM. That touches the runtime, so I would only propose it if you want it.
Checks
- [x] This proposal does not require organization-specific infrastructure or credentials.
- [x] I searched existing issues and discussions for similar proposals.
Thanks for the proposal! As I understand it, you'd like a short guide in the docs for running a LoopForge execution machine on a cloud VM (using boxd as the example), so that deployments can drop the host docker.sock mount and run Docker sandboxes on a separate machine instead. You've also offered to test the steps end to end and open a docs-only PR.
We've seen this and will look into it through the regular issue queue.