> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.14/onboard-cortex-xsoar/docker/docker-images-in-cortex-xsoar/manage-docker-images.md).

# Manage Docker Images

You can find, create, and update Docker images using the following CLI commands. You can also configure the server to change the base Docker image, and define a Docker registry other than Docker hub.

**Display, Create and Update Docker Images**

| Command                    | Description                                                                                                                                                                    |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **`/docker_images`**       | Displays all available Docker images.                                                                                                                                          |
| **`/docker_image_create`** | [Create a Docker Image In Cortex XSOAR](/xsoar-6-administrator-guide/6.14/onboard-cortex-xsoar/docker/docker-images-in-cortex-xsoar/create-a-docker-image-in-cortex-xsoar.md). |
| **`/docker_image_update`** | Updates a specified, or all, Docker images. Use this when you change a Docker image and that image is used in a script to avoid the need to manually update the Docker image.  |

**Change the Base Docker Image**

You need to add one of the following server configurations in Settings → About → Troubleshooting → **Add server configuration**.

| Key                           | Value                                                                                                                                                                                                                                             |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`python.docker.image`**     | <p>(Python) The Docker image you want to define as the base image. For example:</p><p><strong><code>demisto/python3:3.9.7.24076</code></strong></p>                                                                                               |
| **`powershell.docker.image`** | (PowerShell) The Docker image you want to define as the base image. Can be used to change the default PowerShell image in a PowerShell script or integration without a specified docker image. For example: **`demisto/powershell:7.1.3.22028`**. |

**Define a Docker Registry**

You need to add the following server configuration in Settings → About → **Troubleshooting**

| Key                          | Value                                                                        |
| ---------------------------- | ---------------------------------------------------------------------------- |
| **`python.docker.registry`** | The registry you want to point to. For example: **`myregistry.local:5000`**. |

If the alternate registry requires authentication you will need to log in into the registry with the Cortex XSOAR OS user. Type the following:

**` sudo -u demisto docker login`` `` `*****`<registry server>`***

For more information about Docker login, see the [Docker documentation](https://docs.docker.com/engine/reference/commandline/login/).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.14/onboard-cortex-xsoar/docker/docker-images-in-cortex-xsoar/manage-docker-images.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
