| Name | Type | Description |
|---|---|---|
name* | str | Snapshot name. |
docker_image* | str | Docker image to build from (e.g., "python:3.12-slim"). |
fs_capacity_bytes* | int | Filesystem capacity in bytes. |
registry_id | Optional[str] | Default: None |
registry_url | Optional[str] | Default: None |
registry_username | Optional[str] | Default: None |
registry_password | Optional[str] | Default: None |
timeout | int | Default: 60 |
Build a snapshot from a Docker image.
Blocks until the snapshot is ready (polls with 2s interval).
Private registry ID (alternative to URL/credentials).
Registry URL for private images.
Registry username.
Registry password.
Timeout in seconds when waiting for ready.