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

Cortex XSOAR Administrator Guide

Product
Cortex XSOAR
Version
6.9
Creation date
2022-09-29
Last date published
2024-11-20
End_of_Life
EoL
Category
Administrator Guide
Abstract

Display, create, and update docker images in Cortex XSOAR. Change the base docker image and define a Docker Registry.

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.