1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-08 14:35:27 +02:00
tldr/pages/common/doctl-compute-droplet.md
2025-05-11 14:01:39 +00:00

501 B

doctl compute droplet

List, create, and delete virtual machines which are called droplets. More information: https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/.

  • Create a droplet:

doctl compute {{[d|droplet]}} {{[c|create]}} --region {{region}} --image {{os_image}} --size {{vps_type}} {{droplet_name}}

  • Delete a droplet:

doctl compute {{[d|droplet]}} {{[d|delete]}} {{droplet_id|droplet_name}}

  • List droplets:

doctl compute {{[d|droplet]}} {{[ls|list]}}