doctl
Manage DigitalOcean resources. More information: https://docs.digitalocean.com/reference/doctl/.
- Authenticate with DigitalOcean:
doctl auth init
- Display account information:
doctl account get
- Create a new Droplet:
doctl compute droplet create --size --image --region
- List all Droplets:
doctl compute droplet list
- SSH into a Droplet:
doctl compute ssh
- Create a Kubernetes cluster:
doctl kubernetes cluster create
- List Kubernetes clusters:
doctl kubernetes cluster list
- List managed databases:
doctl databases list
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
