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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-registry/resize.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
