doctl compute image create <image-name> [flags]
This command creates an image in your DigitalOcean account. You can specify a URL for the image contents, the region at which to store the image, and image metadata.
Option | Description |
---|---|
--help
, -h
|
Help for this command |
--image-description
|
Description of image |
--image-distribution
|
Custom image distribution
Default: Unknown
|
--image-url
|
Custom image retrieval URL (required) |
--region
|
Region slug identifier (required) |
--tag-names
|
List of tags applied to image |
Command | Description |
---|---|
doctl compute image | Display commands to manage images |
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 |
--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
|