> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-registry/resize.md).

# 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.<br>

## 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>
```

4. Replace `<new_size>` with the new capacity limit you want to allocate.
5. After the process completes, a success message will appear confirming the registry has been updated.

<figure><img src="/files/ugS8cNSTkhjYjP6aPTCk" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details
{% endhint %}

| Flag                 | Description                                      |
| -------------------- | ------------------------------------------------ |
| -h, --help           | Help for the registry resize command.            |
| -p, --project string | Specifies the project ID to scope the operation. |
