Change the Docker image in a script - Use Docker to run Python scripts in a controlled environment in Cortex Cloud. - Administrator Guide - Cortex CLOUD

Cortex Cloud Runtime Security Documentation

Product
Cortex Cloud Application Security > Cortex CLOUD
License
Cloud Runtime Security
Creation date
2024-12-24
Last date published
2026-06-04
Category
Administrator Guide
Abstract

Use Docker to run Python scripts in a controlled environment in Cortex Cloud.

Docker enables you to run scripts from an image in a controlled environment that isolates and safeguards the tenant. It also simplifies environment setup by packaging dependencies and configurations within an image, ensuring consistent execution across different systems. By default, Cortex Cloud pulls images from the Demisto Docker image registry in GitHub, which are used in scripts as needed.  Cortex Cloud scripts have the relevant Docker image already selected.

You may want to select a different Docker image for your script. In Cortex Cloud, you can select a different Docker image from a dropdown that is pulled from the Demisto Docker image registry. In GitHub, the dockerfiles-info branch contains information about each image to help you find one that is relevant.

Change the Docker image for a script
  1. Edit the script.

  2. Under ADVANCED, in the Docker image name field, click X to clear the current selection and then select a Docker image name from the dropdown menu.

    For more information about changing the Docker image for a script, see the Advanced tab in Create a script.

  3. Save your changes.