Create your own authenticated Docker image repository for Cortex XSOAR. View all available images.
Pulling images from a private image registry enables securely accessing and deploying Cortex XSOAR content, for example custom integrations containing scripts and code packaged into Docker images. You can then run the integrations and scripts in Cortex XSOAR.
Before You Begin
Make sure all Docker images you want to pull are built on the linux/amd64 platform. If an image is built on a different platform, for example the Apple M series (M1, M2, M3), you must run the image build command with the
--platform linux/amd64
parameter. For example:docker build --platform linux/amd64 -t my_image:latest .
Verify the image does not infringe on any licenses.
If using an engine, connect the engine to the private image registry using Docker or Podman. See Connect Your Engine to an Image Registry.
Go to
→ → → .Set Use Additional Private Image Registry to On.
Configure access to the private image registry and the images to pull.
Select the Connection to either Direct or Using Engine.
For Using Engine:
Select the Engine to use. Authentication is set on the engine machine itself, not in the Cortex XSOAR tenant. For an example, see Connect Your Engine to an Image Registry.
For Direct:
Set the Username and Password/Access Token.
Define the Registry URL.
Note
The registry URL needs to be set to the hostname of your organization registry service, for example
us-central1-docker.pkg.dev
.Click Test the connection to make sure the connection to the registry works.
Define the Import images in
name:tag
format, for examplemyimage:2.7.18.24398
.You can add, edit, or remove images. If you don't specify a tag, the default tag
latest
will be added automatically.Note
If you use folders to store your images, the image name needs to include the folder path, for example
myorg/python:latest
. Currently, only one folder is supported, and no subfolders.The
demisto/
prefix cannot be used for custom registry images.
Click Save to persist the configuration and initiate synchronization.
Image Synchronization
When you click Save or Update Docker Images, Cortex XSOAR performs synchronization, which involves:
Pulling the images from the external registry.
Copying and storing the images onto the platform. The images are kept on the platform and not shared externally.
Updating the engines with the new images.
Note
The synchronization process make take time. The Image Registry page displays synchronization status (for example in progress, complete, failure).
If the engine fails to synchronize, it may be offline. When it goes back online, it will pull any new images when running scripts or integrations that use them.