Skip to main content
Execute command in isolated container. Spawns microVM (~2-5s startup).

Parameters

Examples

Basic:
With local files:
Save changes:
Returns: {"result_image": "new-uuid", "filesystem_changed": true} Async:
Returns: {"operation_id": "op-xxx"} With uploaded files:
Common mistake: The files key is the container path (destination), the value is the UUID (from upload). Not the other way around. One UUID can be mounted to multiple paths.
Environment variables:

Response

Errors

  • Image not found: Use list_images to find valid UUIDs
  • Directory state not found: Re-run rsync
  • timed_out: true: Increase timeout parameter