System Requirements
This page is a quick pre-flight checklist and FAQ for VirtueRed deployments. Use it to validate environment readiness and answer common setup questions before you start containers.
Requirements Checklist
Core Requirements (All Deployments)
| Item | Requirement | How to Check |
|---|---|---|
| OS | Linux host recommended | uname -a |
| Docker Engine | 25.0+ | docker version |
| Docker Compose | 2.24+ | docker compose version |
| Disk | 100+ GB free | df -h |
| Ports | 3000, 4401, 8000, 5432 available | ss -lntp |
GPU Requirements (Evaluator Only)
| Item | Requirement | How to Check |
|---|---|---|
| NVIDIA Driver | 535+ (CUDA 12.x compatible) | nvidia-smi |
| NVIDIA Container Toolkit | 1.15+ | nvidia-container-toolkit --version |
| Docker GPU Access | --gpus all works | docker run --rm --gpus all nvidia/cuda:12.2.0-base-ubuntu22.04 nvidia-smi |
Environment & Tooling Check (Pre-Flight)
-
Docker daemon access
- Run:
docker ps - Expected: command returns a list of containers (even if empty) without permission errors.
- Run:
-
Docker Compose
- Run:
docker compose version - Expected: version 2.24+.
- Run:
-
GPU access (Evaluator only)
- Run:
nvidia-smi - Expected: GPU list and driver version appear.
- Run:
docker run --rm --gpus all nvidia/cuda:12.2.0-base-ubuntu22.04 nvidia-smi - Expected: the container sees the GPU.
- Run:
-
Disk space
- Run:
df -h - Expected: 100+ GB free on the partition where Docker stores images and volumes.
- Run:
-
Required ports
- Run:
ss -lntp | grep -E ':(3000|4401|8000|5432)\\b' - Expected: no output (ports are free), or change ports in your compose file.
- Run:
Common Questions (FAQ)
Q: How do I check Docker daemon access?
A: Run docker ps. If you see a permission error, add your user to the docker group and re-login:
sudo usermod -aG docker $USER
newgrp docker
Q: Docker says "Cannot connect to the Docker daemon". What should I do?
A: Ensure the Docker service is running:
sudo systemctl status docker
sudo systemctl start docker
Q: How do I verify NVIDIA GPU support for Docker?
A: You need both the NVIDIA driver and the NVIDIA Container Toolkit:
nvidia-smi
nvidia-container-toolkit --version
docker run --rm --gpus all nvidia/cuda:12.2.0-base-ubuntu22.04 nvidia-smi
If nvidia-smi works on the host but fails in the container, the Container Toolkit is missing or Docker is not configured with the NVIDIA runtime.
Q: Do I need GPU drivers if I am not using the Evaluator?
A: No. The Evaluator service is the only component that requires GPU support.
Q: What if required ports are already in use?
A: Update the port mappings in your docker-compose.yaml and any related environment variables (for example, BACKEND_PORT, FRONTEND_PORT, EVALUATOR_PORT, POSTGRES_PORT).
Q: Where should I look if containers fail to start?
A: Check container logs and service health:
docker compose ps
docker compose logs backend
docker compose logs evaluator
Validation Before Go-Live
- All services show healthy in
docker compose ps. - Backend
/healthendpoint returns HTTP 200. - Frontend loads and can reach the backend.
- Evaluator (if enabled) responds on
/healthand can run a sample evaluation.