Forrest logo
back to the doctl tool

doctl-compute-droplet:tldr:3ded4

doctl-compute-droplet: List droplets.
$ doctl compute droplet list
try on your machine

The command "doctl compute droplet list" is used to list all the droplets (virtual machines) that exist on your DigitalOcean account.

Here's how the different parts of the command work:

  • "doctl" is the command-line interface (CLI) tool provided by DigitalOcean to interact with their services. It allows you to manage and control various resources on DigitalOcean from the command line.
  • "compute" is a sub-command that refers to the DigitalOcean Compute service, which is responsible for managing virtual machines called droplets.
  • "droplet" specifies that you want to perform an operation related to droplets.
  • "list" is a specific action to list all the droplets on your account. It retrieves information such as droplet ID, name, status, size, region, and other details.

By running "doctl compute droplet list" in the command line, you will receive a list of all the droplets associated with your DigitalOcean account along with their relevant information.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the doctl tool