doctl-compute-droplet
manage DigitalOcean Droplet virtual machines
TLDR
List all droplets
SYNOPSIS
doctl compute droplet command [options]
DESCRIPTION
doctl compute droplet manages DigitalOcean Droplets (virtual machines). It provides full lifecycle control including creation, configuration, monitoring, and deletion of cloud servers.
Droplets can be created with various configurations specifying size, region, image, and networking options. The command supports actions like reboot, power cycle, resize, and snapshot creation.
Integration with SSH keys enables secure access, and the ssh subcommand provides convenient direct connection to droplets by name.
PARAMETERS
COMMAND
Operation: list, create, get, delete, ssh, etc.list
List all droplets.create NAME
Create new droplet.--size SLUG
Droplet size slug.--image IMAGE
OS image slug or ID.--region REGION
Data center region.--ssh-keys IDS
SSH key IDs or fingerprints.delete ID
Delete droplet.ssh NAME
SSH into droplet.--help
Display help information.
CAVEATS
Droplet creation incurs charges immediately. Deletion is irreversible. Some actions require droplet power-off. Region availability varies for sizes and images.
HISTORY
doctl compute droplet is a core component of the doctl CLI, providing command-line management of DigitalOcean's primary compute service since the tool's initial release.
SEE ALSO
doctl(1), ssh(1), doctl-compute-size(1)
