Ask a question to get started
Enter to send•Shift+Enter new line
create_snapshot( self, name: str, docker_image: str, fs_capacity_bytes: int, *,
name
str
Snapshot name.
docker_image
Docker image to build from (e.g., "python:3.12-slim").
fs_capacity_bytes
int
Filesystem capacity in bytes.
registry_id
Optional[str]
None
timeout
60
Build a snapshot from a Docker image.
Blocks until the snapshot is ready (polls with 2s interval).
Private registry ID.
Timeout in seconds when waiting for ready.