SYS_ADMIN and
/dev/fuse on Linux. Details: Python ·
TypeScript.
- Python SDK
- TypeScript SDK
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Connect either Mirage SDK to an existing Docker container.
SYS_ADMIN and
/dev/fuse on Linux. Details: Python ·
TypeScript.
docker run -d --cap-add SYS_ADMIN --device /dev/fuse \
--name my-sandbox mirage-python-fuse sleep infinity
from mirage.runtime.sandbox.docker import DockerRuntime
runtime = DockerRuntime(captures=["python3"], config={"container": "my-sandbox"})
import { DockerRuntime } from '@struktoai/mirage-node'
const runtime = new DockerRuntime({
captures: ['python3'],
config: { container: 'my-sandbox' },
})