> 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/panduan-untuk-enterprise/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="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-ff451caf3b608e3ae4716bbfe6be36bb9ceb9615%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-3b7fae98d5de4ff78bb63bc086a5cbc16c63e7af%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/panduan-untuk-enterprise/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>
