All-in-one Slurm container on Rocky Linux 10. Runs MariaDB, slurmdbd, slurmctld, slurmd (3 nodes), slurmrestd, and SSH in a single container.
cp .env.example .env
make build && make up
Wait ~20 seconds, then make shell to access the cluster.
25.11.x (default), 25.05.x, 24.11.x. Switch with:
make set-version VER=24.11.7
make rebuild
All settings go in .env (see .env.example):
| Variable | Default | Description |
|---|---|---|
SLURM_VERSION | 25.11.2 | Slurm version to build |
MYSQL_USER | slurm | MariaDB user |
MYSQL_PASSWORD | password | MariaDB password |
EXTRA_PACKAGES | Additional packages to install at startup | |
ROOT_PASSWORD | Set root password for SSH | |
SSH_PERMIT_ROOT_LOGIN | prohibit-password | SSH root login policy |
SSH_PASSWORD_AUTH | no | Enable SSH password auth |
Version-specific configs in config/{25.11,25.05,24.11}/slurm.conf, shared configs in config/common/. Edit live:
docker exec -it slurm vi /etc/slurm/slurm.conf
docker exec slurm scontrol reconfigure
Run make to see all available commands. Key targets: build, up, down, clean, rebuild, shell, test, status, logs.
config/XX.YY/slurm.confSUPPORTED_VERSIONS in Makefile.github/workflows/test.ymlContent type
Image
Digest
sha256:204e6c61d…
Size
385.6 MB
Last updated
27 days ago
docker pull giovtorres/slurm-docker