doctl registry

Go to Navigation


doctl registry [flags]


reg, r


The subcommands of doctl registry create, manage, and allow access to your private container registry.


--help, -hHelp for this command
doctldoctl is a command line interface (CLI) for the DigitalOcean API.
doctl registry createCreate a private container registry
doctl registry deleteDelete a container registry
doctl registry docker-configGenerate a docker auth configuration for a registry
doctl registry garbage-collectionDisplay commands for garbage collection for a container registry
doctl registry getRetrieve details about a container registry
doctl registry kubernetes-manifestGenerate a Kubernetes secret manifest for a registry.
doctl registry loginLog in Docker to a container registry
doctl registry logoutLog out Docker from a container registry
doctl registry optionsList available container registry options
doctl registry repositoryDisplay commands for working with repositories in a container registry

Global Flags

--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify a custom config file
  • 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