# 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="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FXtK2TAoUBbhpMKrA99Od%2Fimage.png?alt=media&#x26;token=5b659b51-88f1-4072-a8aa-e345d55842ca" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FAfq2D4bwJKY4CDGr5kXF%2Fimage.png?alt=media&#x26;token=71840441-b1b4-4408-895e-b83391e0e16a" alt=""><figcaption></figcaption></figure>

## Flags

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

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