SandboxRuntime#
- class ray.experimental.sandbox.SandboxRuntime[source]#
Bases:
objectLow-level interface for managing local sandbox runtime environments.
PublicAPI (alpha): This API is in alpha and may change before becoming stable.
Methods
Reject unsupported resource limits before downloading an image.
Create a checkpoint of the running sandbox.
Provision the sandbox instance and return unique instance ID.
Clean up and terminate the sandbox instance.
Clean up and terminate the sandbox instance asynchronously.
Copy file from the sandbox to local.
Execute a command inside the specified sandbox.
Execute a command inside the specified sandbox asynchronously.
Query operational status of the sandbox.
Report an unexpected runtime exit, including a cgroup OOM kill.
Pause a running sandbox instance.
Download and extract container image into local cache.
Read binary content from a file inside the sandbox.
Restore a sandbox instance from a previously saved checkpoint.
Resume a paused sandbox instance.
Replace the egress allowlist of a network="public" sandbox.
Clean up and terminate the sandbox instance.
Copy local file into the sandbox.
Write string or binary content directly to a file inside the sandbox.
Attributes
The backend instance used by this runtime.
The ImageManager instance used by this runtime.