ash sandbox
Manage the Docker sandbox for secure command execution.
Usage
uv run ash sandbox COMMAND [OPTIONS]Commands
build
Build the sandbox Docker image:
uv run ash sandbox buildOptions:
--force,-f: Rebuild even if image exists
status
Check sandbox status:
uv run ash sandbox statusShows:
- Docker availability
- Image status
- Running containers
clean
Remove stopped containers:
uv run ash sandbox cleanOptions:
--force,-f: Also remove the sandbox image
Examples
Initial setup:
uv run ash sandbox builduv run ash sandbox statusClean up containers:
uv run ash sandbox cleanFull cleanup including image:
uv run ash sandbox clean --forceVerification
For security verification, use pytest:
uv run pytest tests/test_sandbox_verify.py -vFor manual testing prompts, use the /test-sandbox skill.
Troubleshooting
Build fails
Ensure Docker is running:
docker infoContainer issues
Check configuration:
uv run ash config showReview the [sandbox] section for issues.