CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 19:21:36 GMT
content-type: text/html; charset=utf-8
content-encoding: gzip
last-modified: Fri, 10 Oct 2025 12:09:44 GMT
vary: Accept-Encoding
x-frame-options: ALLOW-FROM https://marina.digitalocean.com/
x-xss-protection: 1; mode=block
content-security-policy: frame-ancestors https://amd.digitalocean.com/ https://amd.s2r1.internal.digitalocean.com/ https://localdev.internal.digitalocean.com https://cloud.s2r1.internal.digitalocean.com https://cloud.digitalocean.com https://digitaloceaninc.lookbookhq.com
x-content-security-policy: frame-ancestors https://amd.digitalocean.com/ https://amd.s2r1.internal.digitalocean.com/ https://localdev.internal.digitalocean.com https://cloud.s2r1.internal.digitalocean.com https://cloud.digitalocean.com https://digitaloceaninc.lookbookhq.com
x-do-app-origin: 278230ee-e6a3-11ec-b1dc-0c42a19a82a7
cache-control: private
x-do-orig-status: 200
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=oVeBetVVytORHO_oQKQhXl1.SsOY3lBBCaVcELDdDzM-1760296896-1.0.1.1-b6ueXzgq9TczB2SDaosIFlPwkl.uA0wkG.2CQ0QYfFBzBLXw8eUIXChDOTF0Nvg6l_4tDej0wjSE39RRbHCHGgdlJW2sytyQUv1mrmH3kA4; path=/; expires=Sun, 12-Oct-25 19:51:36 GMT; domain=.ondigitalocean.app; HttpOnly; Secure; SameSite=None
set-cookie: __cf_bm=3P4o2V9DptLx5_ZEokPEbU5R70w9Qqth2P8gtqzAv44-1760296896-1.0.1.1-t93pKJ_7FHgmaXjrgqTuIOp2ZYYoopWxpPVKru5tOCYxFRGAoFXT28Al71shj5gNvZd2ood9SK7hWrncIXBHk.55ZQkh_OG.0jNVCfppyWDsFMjL3sNTjbM3f0gV2Lkj; path=/; expires=Sun, 12-Oct-25 19:51:36 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
do-upstream-service-time: 1332
server: cloudflare
cf-ray: 98d8f60a6e44b155-BLR
doctl compute droplet create | DigitalOcean Documentation
doctl compute droplet create
Generated on 2 Sep 2025
from doctl
version
v1.141.0
Usage
doctl compute droplet create <droplet-name>... [flags]
Aliases
c
Description
Creates a new Droplet on your account. The command requires values for the --size
, and --image
flags.
To retrieve a list of size slugs, use the doctl compute size list
command. To retrieve a list of image slugs, use the doctl compute image list
command.
If you do not specify a region, the Droplet is created in the default region for your account. If you do not specify any SSH keys, we email a temporary password to your account’s email address.
Flags
Option | Description |
---|---|
--backup-policy-hour |
Backup policy hour. Default: 0 |
--backup-policy-plan |
Backup policy frequency plan. |
--backup-policy-weekday |
Backup policy weekday. |
--droplet-agent |
Specifies whether or not the Droplet monitoring agent should be installed. By default, the agent is installed on new Droplets but installation errors are ignored. Set --droplet-agent=false to prevent installation. Set to true to make installation errors fatal.Default: false |
--enable-backups |
Enables backups for the Droplet. By default, backups are created on a daily basis. Default: false |
--enable-ipv6 |
Enables IPv6 support and assigns an IPv6 address to the Droplet Default: false |
--enable-monitoring |
Installs the DigitalOcean agent for additional monitoring Default: false |
--enable-private-networking |
Enables private networking for the Droplet by provisioning it inside of your account’s default VPC for the region Default: false |
--format |
Columns for output in a comma-separated list. Possible values: ID , Name , PublicIPv4 , PrivateIPv4 , PublicIPv6 , Memory , VCPUs , Disk , Region , Image , VPCUUID , Status , Tags , Features , Volumes . |
--help , -h |
Help for this command |
--image |
An ID or slug specifying the image to use to create the Droplet, such as ubuntu-20-04-x64 . Use the commands under doctl compute image to find additional images. (required) |
--no-header |
Return raw data with no headers Default: false |
--project-id |
The UUID of the project to assign the Droplet to |
--region |
A slug specifying the region to create the Droplet in, such as nyc1 . Use the doctl compute region list command for a list of valid regions. |
--size |
A slug indicating the Droplet’s number of vCPUs, RAM, and disk size. For example, s-1vcpu-1gb specifies a Droplet with one vCPU and 1 GiB of RAM. The disk size is defined by the slug’s plan. Run doctl compute size list for a list of valid size slugs and their disk sizes. (required) |
--ssh-keys |
A list of SSH key IDs or fingerprints to embed in the Droplet’s root account upon creation |
--tag-name |
Applies a tag to the Droplet |
--tag-names |
Applies a list of tags to the Droplet |
--user-data |
A shell script to run on the Droplet’s first boot |
--user-data-file |
The path to a file containing a shell script or Cloud-init YAML file to run on the Droplet’s first boot. Example: path/to/file.yaml |
--volumes |
A list of block storage volume IDs to attach to the Droplet |
--vpc-uuid |
The UUID of a non-default VPC to create the Droplet in |
--wait |
Instructs the terminal to wait for the action to complete before returning access to the user Default: false |
Related Commands
Command | Description |
---|---|
doctl compute droplet | Manage virtual machines (Droplets) |
Global Flags
Option | Description |
---|---|
--access-token , -t |
API V2 access token |
--api-url , -u |
Override default API endpoint |
--config , -c |
Specify a custom config file Default: |
--context |
Specify a custom authentication context name |
--http-retry-max |
Set maximum number of retries for requests that fail with a 429 or 500-level error
Default: 5 |
--http-retry-wait-max |
Set the minimum number of seconds to wait before retrying a failed request
Default: 30 |
--http-retry-wait-min |
Set the maximum number of seconds to wait before retrying a failed request
Default: 1 |
--interactive |
Enable interactive behavior. Defaults to true if the terminal supports it (default false)
Default: false |
--output , -o |
Desired output format [text|json] Default: text |
--trace |
Show a log of network activity while performing a command Default: false |
--verbose , -v |
Enable verbose output Default: false |
We can't find any results for your search.
Try using different keywords or simplifying your search terms.