what is the exact doctl command to create a droplet of given specification

doctl compute droplet create webserver01 region banglore image ubuntu-18.04-x64 --size1gb


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted


You can check this article on DigitalOcean website and see how the doctl is used:

This is an example for creation of droplets:

For example, the following command creates a 64-bit Debian 8 Droplet named test with 1GB of memory, an SSH key, and backups enabled.

doctl compute droplet create test --size 1gb --image debian-8-x64 --region nyc1 --ssh-keys 4d:23:e6:e4:8c:17:d2:cf:89:47:36:b5:c7:33:40:4e --enable-backups

You can modify it to match your needs, e.g using Ubuntu and region Banglore:

doctl compute droplet create webserver01 --size 1gb --image ubuntu-18.04-x64 --region banglore

Let me know how it goes.