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
Displays all available Docker images.
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→ → → .
(Python) The Docker image you want to define as the base image. For example:
(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:
Define a Docker Registry
You need to add the following server configuration in→ →
The registry you want to point to. For example:
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 .
For more information about Docker login, see the Docker documentation.