Manage Docker Images - Administrator Guide - 6.10 - Cortex XSOAR - Cortex - Security Operations

Cortex XSOAR Administrator Guide

Product
Cortex XSOAR
Version
6.10
Creation date
2022-10-13
Last date published
2023-12-06
Category
Administrator Guide

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.

/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 SettingsAboutTroubleshootingAdd server configuration.

Key

Value

python.docker.image

(Python) The Docker image you want to define as the base image. For example:

demisto/python3:3.9.7.24076

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 SettingsAboutTroubleshooting

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.