Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Run captured programs in a Docker container.
pip install 'mirage-ai[ssh]'
captures
@external
@python
from mirage import RAMVFS, MountMode, Workspace ws = Workspace( {"/data": RAMVFS()}, mode=MountMode.EXEC, machines={ "box": { "provider": "docker", "container": "my-sandbox", "mount_type": "ssh", "captures": ["@python", "@external"], } }, ) await ws.shell("python3 -c 'print(1 + 1)'")