For example:
Docker Engine for Debian: https://docs.docker.com/engine/install/debian/
Or Docker Desktop for Windows: https://docs.docker.com/desktop/setup/install/windows-install/
Docker Desktop for Windows already has the required software. Other than ensuring your GPU drivers are up to date, nothing else is needed.
NCT for Linux: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
git clone https://github.com/David-Moody/MDDockerImages.git
Current version: Amber24
Download AmberTools24 via Option 2: https://ambermd.org/GetAmber.php#ambertools
Download Amber24: https://ambermd.org/GetAmber.php#amber
This has a licensing agreement that you must meet. Including a license fee for commercial use.
Place Amber24.tar.bz2 and AmberTools24.tar.bz2 into Amber folder.
cd Amber
docker build . -t amber-cuda:v1
# Run the tests
docker run --gpus=all -it amber-cuda:v1 make test.cuda.serial -j12
Change to the directory with your project files for Amber
docker run --gpus=all -it --rm -v .:/data amber-cuda:v1 <AMBER COMMAND>
For example:
docker run --gpus=all -it --rm -v .:/data amber-cuda:v1 cpptraj
OR
docker run --gpus=all -it --rm -v .:/data amber-cuda:v1 /data/dynamics.sh
Current version: 2025.1
cd GROMACS
docker build . -t gromacs:2025.1
docker run --gpus=all -it --rm gromacs:2025.1 gmx
With the current working directory bind mounted (like a symbolic link) to /data inside the container.
docker run --gpus=all -it --rm -v .:/data gromacs:2025.1 gmx
-DGMX_SIMD=xxx to specify the level of SIMD support of the node on which GROMACS will run
Current version: Always latest
cd OpenMM
docker build . -t openmm:latest
docker run --gpus=all -it --rm openmm:latest
With the current working directory bind mounted (like a symbolic link) to /data inside the container.
docker run --gpus=all -it --rm -v .:/data openmm:latest python script.py