Page cover

resize

The cldkctl registry resize command is used to increase or decrease the storage limit allocated to a Docker registry. Use this command to manage available space for storing container images.

Usage

cldkctl registry resize [size] [flags]

Steps

Follow the steps below to run and view the result of this command:

  1. Ensure the registry you want to resize already exists.

  2. Use the --registry global flag to specify the target registry.

  3. Run the following command in your terminal and replace <registry_name> with your registry name.

./cldkctl --registry <registry_name> registry resize <new_size>
  1. Replace <new_size> with the new capacity limit you want to allocate.

  2. After the process completes, a success message will appear confirming the registry has been updated.

Flags

This command supports global flags. Refer to the Global Flags section for details

Flag
Description

-h, --help

Help for the registry resize command.

-p, --project string

Specifies the project ID to scope the operation.

Last updated