doctl registry garbage-collection

Go to Navigation

Usage

doctl registry garbage-collection [flags]

Aliases

gc, g

Description

The subcommands of doctl registry garbage-collection start a garbage collection, retrieve or cancel a currently-active garbage collection or list past garbage collections for a specified registry.

Flags

OptionDescription
--help, -hHelp for this command
CommandDescription
doctl registryDisplay commands for working with container registries
doctl registry garbage-collection cancelCancel the currently-active garbage collection for a container registry
doctl registry garbage-collection get-activeRetrieve information about the currently-active garbage collection for a container registry
doctl registry garbage-collection listRetrieve information about past garbage collections for a container registry
doctl registry garbage-collection startStart garbage collection for a container registry

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