cp2k/tools/docker/README.md
Matthias Krack 107e9aed79 Use podman instead of docker
Rationale for this proposal: Docker is usually not provided on shared compute clusters, e.g. at HPC centres,
because docker runs a daemon with root privileges creating potential security vulnerability. By contrast,
podman is daemonless and more lightweight and is built on the same principles as Docker's API.
2025-05-21 16:25:59 +02:00

611 B

Docker Containers for Testing

Note

For production containers please visit: http://github.com/cp2k/cp2k-containers.

This directory hosts docker files for testing cp2k. They are mostly used by the cp2k-ci to check pull requests and populate the dashboard.

To run a test one simply has to build the image:

./spack_cache_start.sh
podman build --network=host --shm-size=1g -f Dockerfile.test_sdbg -t cp2k_test_sdbg ../../

To retrieve the cached report of an old image simply run it:

podman run cp2k_test_sdbg