Docker's -v host:container syntax is ambiguous for Windows drive-letter paths (e.g. D:/...) because ':' is both the drive separator and the volume separator, causing mount failures on Windows hosts. Introduce _format_container_mount() which uses '--mount type=bind,...' for Docker (unambiguous on all platforms) and keeps '-v' for Apple Container runtime which does not support the --mount flag yet. Adds unit tests covering Windows paths, read-only mounts, and Apple Container pass-through. Made-with: Cursor |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| aio_sandbox.py | ||
| aio_sandbox_provider.py | ||
| backend.py | ||
| local_backend.py | ||
| remote_backend.py | ||
| sandbox_info.py | ||