doctl compute image create

Go to Navigation

Usage

doctl compute image create <image-name> [flags]

Description

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.

Flags

OptionDescription
--help, -hHelp for this command
--image-descriptionDescription of image
--image-distributionCustom image distribution
Default: Unknown
--image-urlCustom image retrieval URL (required)
--regionRegion slug identifier (required)
--tag-namesList of tags applied to image
CommandDescription
doctl compute imageDisplay commands to manage images

Global Flags

OptionDescription
--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--contextSpecify a custom authentication context name
--output, -oDesired output format [text|json]
Default: text
--traceShow a log of network activity while performing a command
Default: false
--verbose, -vEnable verbose output
Default: false