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.
Edit the script.
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.
Save your changes.