Skip to main content

Prerequisites

Host requirements

RequirementMinimumRecommended
OSLinux (kernel 5+)Ubuntu 22.04 LTS / 24.04 LTS
RAM12 GB16–20 GB
CPU4 cores8 cores
Disk40 GB free100 GB SSD

Required software

Docker Engine 24+

# Ubuntu
curl -fsSL https://get.docker.com | sudo sh
sudo usermod -aG docker $USER
newgrp docker
docker --version

Docker Compose v2 (plugin)

Comes bundled with Docker Desktop and recent Docker Engine packages. Verify:

docker compose version
# Docker Compose version v2.24.x

git

sudo apt install -y git

Kernel tuning (required for Elasticsearch)

Elasticsearch requires a raised vm.max_map_count. Apply it persistently:

# Apply immediately
sudo sysctl -w vm.max_map_count=262144

# Persist across reboots
echo 'vm.max_map_count=262144' | sudo tee -a /etc/sysctl.conf

You will see max virtual memory areas vm.max_map_count [65530] is too low errors in the Elasticsearch container if this is not set.

Cortex: Docker socket access

Cortex launches analyzer images as Docker sibling containers and requires access to the Docker socket:

# Ensure your user is in the docker group
sudo usermod -aG docker $USER
newgrp docker

The docker-compose.yml mounts /var/run/docker.sock into the Cortex container.

Ports

Ensure no existing services occupy the following host ports before starting:

8080, 9200, 9100, 9002, 9000, 9001, 5601, 15672, 5672, 5044, 9600

Check with:

ss -tlnp | grep -E '8080|9200|9100|9002|9000|9001|5601|15672|5672|5044|9600'