The hokiegeek2/slurm-single-node docker image stands up a full-featured single-node slurm cluster
3.0K
The slurm-single-node Dockerfile delivers an image that enables integration testing with a full Slurm stack w/ one worker (slurmd) node. This Dockerfile is based upon this excellent example written by Lennart Landsmeer.
The slurm-single-node Docker image is built from the project root directory as follows:
docker build -f src/docker/slurm-single-node -t hokiegeek2/slurm-single-node:$VERSION .
To simply run the slurm-single-node docker container, execute the following command:
docker run -it --rm --network=host hokiegeek2/slurm-single-node
In order to perform any integration testing with applications outside of the slurm-single-node, a munge.key used in the external app must be mounted into the docker container. Accordingly, to mount a munge.key and start the slurm-single-node docker container, execute the following command:
docker run -it --rm --network=host -v $PWD/munge.key:/tmp/munge.key hokiegeek2/slurm-single-node
Successful startup of slurm-single-node looks like this:

Content type
Image
Digest
sha256:817130caa…
Size
1.1 GB
Last updated
over 2 years ago
docker pull hokiegeek2/slurm-single-node