mirror of https://github.com/CrimsonTome/tldr.git
17 lines
452 B
Markdown
17 lines
452 B
Markdown
|
# 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 droplet create --region {{region}} --image {{os_image}} --size {{vps_type}} {{droplet_name}}`
|
||
|
|
||
|
- Delete a droplet:
|
||
|
|
||
|
`doctl compute droplet delete {{droplet_id|droplet_name}}`
|
||
|
|
||
|
- List droplets:
|
||
|
|
||
|
`doctl compute droplet list`
|