Skip to main content
Recycle (destroy/create) an instance

Usage

vastai recycle instance ID [OPTIONS]

Arguments

id
integer
required
id of instance to recycle

Description

Destroys and recreates container in place (from newly pulled image) without any risk of losing GPU priority.

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)