End-of-Life (EoL)

Install Docker Distribution for Red Hat on Cortex XSOAR

Follow these instructions to install Docker Distribution for Red Hat.
Red Hat maintains its own package of Docker, which is the version used in OpenShift Container Platform environments, and is available in the RHEL Extras repository. For more information about the different packages available to install on Red Hat, see the Red Hat Knowledge Base Article (requires a Red Hat subscription to access).
RHEL 8 and later does not support this Docker installation method.
CentOS 7 provides a similar
distribution package as part of the CentOS Extras repository.
  1. Run the following commands.
    systemctl enable docker.service
    systemctl restart docker.service
  2. Change ownership of the Docker daemon socket so members of the
    user group have access.
    1. Edit or create the file
    2. Enable OS group
      access to Docker by adding the following entry to the
      /etc/docker/daemon.json: "group": "dockerroot"
      file. For example:
      { "group": "dockerroot" }
    3. Restart the Docker service by running the following command.
      systemctl restart docker.service
    4. Install Cortex XSOAR.
    5. After Cortex XSOAR is installed, run the following command to add the
      os user to the
      os group (Red Hat uses dockerroot group instead of docker).
      usermod -aG dockerroot demisto
    6. Restart the Cortex XSOAR server.
  3. Set the required SELinux permissions.
    Cortex XSOAR uses the
    directory (with subdirs) to copy files and receive files from running Docker containers. By default, when SELinux is in
    mode directories under
    it cannot be accessed by docker containers.
    1. To allow containers access to the
      directory, you need to set the correct SELinux policy type, by typing the following command.
      chcon -Rt svirt_sandbox_file_t /var/lib/demisto/temp
    2. (
      ) Verify that the directory has the
      SELinux type attached by running the following command.
      ls -d -Z /var/lib/demisto/temp

Recommended For You