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
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.
Download and extract container image into local cache.
Read binary content from a file inside the 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.