Skip to main content
DockerRuntime connects to a container you started and executes every captured line inside it. Mirage does not create, size, stop, or delete the container. See the Sandbox overview first for routing, the shared image, and how to serve workspace mounts inside the sandbox.

Start the container

Live FUSE mounts need SYS_ADMIN, /dev/fuse, and the Mirage fuse image on a Linux host:
You can bake sandbox.yaml into the image instead of copying it. Sizing, GPUs, networks, volumes, and bind mounts belong on your own docker run command.

Connect from TypeScript

The container config accepts a container name or id. Unknown config fields fail at construction. The Docker CLI is the transport, so there is no SDK or daemon-socket integration; Docker Desktop, Colima, and a compatible Podman alias work through the same command surface. Stdin and stderr stay separate.
Mirage timeouts stop waiting for docker exec; they do not kill the process inside the container. Stop it yourself or enforce limits at the container layer. See Resource limits.