> 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-flexi/image/custom-image.md).

# custom-image

Create a custom flexi image based on an existing image. This command allows you to create a new flexi image by customizing an existing image with specific configurations and settings.

## Usage

```
cldkctl flexi image custom-image [flags]
```

## Aliases

```
custom-image, custom-image
```

## Steps

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

1. Run the following command in your terminal:

```
cldkctl flexi image custom-image 
```

2. Enter the **custom image name**.
3. Enter the **version number** of the custom image.
4. Enter the **image URL**.
5. Confirm the custom image creation by selecting **Confirm**.

<figure><img src="/files/8Xv9GMeQ0sicTVylWYIG" alt=""><figcaption></figcaption></figure>

6. Once completed successfully, the terminal displays the success message.

<figure><img src="/files/rg81TAtF1FyO7OTfxtke" 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 %}

<table><thead><tr><th width="228.22222900390625">Flag</th><th>Shorthand</th><th>Description</th></tr></thead><tbody><tr><td>--help</td><td>-h</td><td>Help for the custom-image command.</td></tr></tbody></table>
