Usage
Arguments
instance_id of the container instance to snapshot
Options
Container registry to push the snapshot to. Default will be docker.io
repo to push the snapshot to
Username for container registry with repo
Password or token for container registry with repo
Pause container’s processes being executed by the CPU to take snapshot (true/false). Default will be true
Description
Takes a snapshot of a running container instance and pushes snapshot to the specified repository in container registry. Use pause=true to pause the container during commit (safer but slower), or pause=false to leave it running (faster but may produce a filesystem- // safer snapshot).Global Options
The following options are available for all commands:| Option | Description |
|---|---|
--url URL | Server REST API URL |
--retry N | Retry limit |
--raw | Output machine-readable JSON |
--explain | Verbose explanation of API calls |
--api-key KEY | API key (defaults to ~/.config/vastai/vast_api_key) |