From 107e9aed7939f3ffe8c1041cf0df696f139dcfaf Mon Sep 17 00:00:00 2001 From: Matthias Krack Date: Tue, 20 May 2025 14:55:48 +0200 Subject: [PATCH] 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. --- tools/docker/Dockerfile.build_hip_rocm_Mi100 | 4 ++-- tools/docker/Dockerfile.build_hip_rocm_Mi50 | 4 ++-- tools/docker/Dockerfile.test_aiida | 4 ++-- tools/docker/Dockerfile.test_arm64-psmp | 4 ++-- tools/docker/Dockerfile.test_asan-psmp | 4 ++-- tools/docker/Dockerfile.test_asan-ssmp | 4 ++-- tools/docker/Dockerfile.test_ase | 4 ++-- tools/docker/Dockerfile.test_conventions | 4 ++-- tools/docker/Dockerfile.test_coverage-pdbg | 4 ++-- tools/docker/Dockerfile.test_coverage-sdbg | 4 ++-- tools/docker/Dockerfile.test_cuda_A100 | 4 ++-- tools/docker/Dockerfile.test_cuda_P100 | 4 ++-- tools/docker/Dockerfile.test_cuda_V100 | 4 ++-- tools/docker/Dockerfile.test_doxygen | 2 +- tools/docker/Dockerfile.test_fedora-psmp | 4 ++-- tools/docker/Dockerfile.test_gcc10 | 2 +- tools/docker/Dockerfile.test_gcc11 | 2 +- tools/docker/Dockerfile.test_gcc12 | 2 +- tools/docker/Dockerfile.test_gcc13 | 2 +- tools/docker/Dockerfile.test_gcc14 | 2 +- tools/docker/Dockerfile.test_gcc8 | 4 ++-- tools/docker/Dockerfile.test_gcc9 | 2 +- tools/docker/Dockerfile.test_generic_pdbg | 4 ++-- tools/docker/Dockerfile.test_generic_psmp | 4 ++-- tools/docker/Dockerfile.test_generic_sdbg | 4 ++-- tools/docker/Dockerfile.test_generic_ssmp | 4 ++-- tools/docker/Dockerfile.test_gromacs | 4 ++-- tools/docker/Dockerfile.test_hip_cuda_A100 | 4 ++-- tools/docker/Dockerfile.test_hip_cuda_P100 | 4 ++-- tools/docker/Dockerfile.test_hip_cuda_V100 | 4 ++-- tools/docker/Dockerfile.test_hip_rocm_Mi100 | 4 ++-- tools/docker/Dockerfile.test_hip_rocm_Mi50 | 4 ++-- tools/docker/Dockerfile.test_i-pi | 4 ++-- tools/docker/Dockerfile.test_intel-psmp | 4 ++-- tools/docker/Dockerfile.test_intel-ssmp | 4 ++-- tools/docker/Dockerfile.test_manual | 4 ++-- tools/docker/Dockerfile.test_minimal | 2 +- tools/docker/Dockerfile.test_misc | 2 +- tools/docker/Dockerfile.test_nvhpc | 2 +- tools/docker/Dockerfile.test_openmpi-psmp | 4 ++-- tools/docker/Dockerfile.test_pdbg | 4 ++-- tools/docker/Dockerfile.test_performance | 4 ++-- tools/docker/Dockerfile.test_performance_cuda_A100 | 4 ++-- tools/docker/Dockerfile.test_performance_cuda_P100 | 4 ++-- tools/docker/Dockerfile.test_performance_cuda_V100 | 4 ++-- tools/docker/Dockerfile.test_precommit | 2 +- tools/docker/Dockerfile.test_psmp | 4 ++-- tools/docker/Dockerfile.test_sdbg | 4 ++-- tools/docker/Dockerfile.test_spack | 2 +- tools/docker/Dockerfile.test_ssmp | 4 ++-- tools/docker/README.md | 4 ++-- tools/docker/generate_dockerfiles.py | 4 ++-- tools/docker/spack_cache_list.sh | 2 +- tools/docker/spack_cache_remove.sh | 2 +- tools/docker/spack_cache_start.sh | 12 ++++++------ tools/docker/spack_cache_stop.sh | 2 +- 56 files changed, 101 insertions(+), 101 deletions(-) diff --git a/tools/docker/Dockerfile.build_hip_rocm_Mi100 b/tools/docker/Dockerfile.build_hip_rocm_Mi100 index 8b082887d0..39c60bfd46 100644 --- a/tools/docker/Dockerfile.build_hip_rocm_Mi100 +++ b/tools/docker/Dockerfile.build_hip_rocm_Mi100 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.build_hip_rocm_Mi100 ../../ +# Usage: podman build -f ./Dockerfile.build_hip_rocm_Mi100 ../../ # FROM rocm/dev-ubuntu-22.04:5.3.2-complete @@ -43,7 +43,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.build_hip_rocm_Mi50 b/tools/docker/Dockerfile.build_hip_rocm_Mi50 index b2428535d0..264941676c 100644 --- a/tools/docker/Dockerfile.build_hip_rocm_Mi50 +++ b/tools/docker/Dockerfile.build_hip_rocm_Mi50 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.build_hip_rocm_Mi50 ../../ +# Usage: podman build -f ./Dockerfile.build_hip_rocm_Mi50 ../../ # FROM rocm/dev-ubuntu-22.04:5.3.2-complete @@ -43,7 +43,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_aiida b/tools/docker/Dockerfile.test_aiida index 562fecc2a4..c6b2a09e75 100644 --- a/tools/docker/Dockerfile.test_aiida +++ b/tools/docker/Dockerfile.test_aiida @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_aiida ../../ +# Usage: podman build -f ./Dockerfile.test_aiida ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_arm64-psmp b/tools/docker/Dockerfile.test_arm64-psmp index 32a4f7212b..0219c5381a 100644 --- a/tools/docker/Dockerfile.test_arm64-psmp +++ b/tools/docker/Dockerfile.test_arm64-psmp @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_arm64-psmp ../../ +# Usage: podman build -f ./Dockerfile.test_arm64-psmp ../../ # FROM arm64v8/ubuntu:24.04 @@ -30,7 +30,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_asan-psmp b/tools/docker/Dockerfile.test_asan-psmp index 3b5aaa5026..4c9e47034e 100644 --- a/tools/docker/Dockerfile.test_asan-psmp +++ b/tools/docker/Dockerfile.test_asan-psmp @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_asan-psmp ../../ +# Usage: podman build -f ./Dockerfile.test_asan-psmp ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_asan-ssmp b/tools/docker/Dockerfile.test_asan-ssmp index 43eb4324f7..a9cbdce4dd 100644 --- a/tools/docker/Dockerfile.test_asan-ssmp +++ b/tools/docker/Dockerfile.test_asan-ssmp @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_asan-ssmp ../../ +# Usage: podman build -f ./Dockerfile.test_asan-ssmp ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_ase b/tools/docker/Dockerfile.test_ase index 682a9a1d51..f199447d9e 100644 --- a/tools/docker/Dockerfile.test_ase +++ b/tools/docker/Dockerfile.test_ase @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_ase ../../ +# Usage: podman build -f ./Dockerfile.test_ase ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_conventions b/tools/docker/Dockerfile.test_conventions index d7d9351796..9ae9c32b73 100644 --- a/tools/docker/Dockerfile.test_conventions +++ b/tools/docker/Dockerfile.test_conventions @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_conventions ../../ +# Usage: podman build -f ./Dockerfile.test_conventions ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_coverage-pdbg b/tools/docker/Dockerfile.test_coverage-pdbg index 8d517bb9a4..9ca912b4c5 100644 --- a/tools/docker/Dockerfile.test_coverage-pdbg +++ b/tools/docker/Dockerfile.test_coverage-pdbg @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_coverage-pdbg ../../ +# Usage: podman build -f ./Dockerfile.test_coverage-pdbg ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_coverage-sdbg b/tools/docker/Dockerfile.test_coverage-sdbg index 54ff1a0b4f..9ad4060f82 100644 --- a/tools/docker/Dockerfile.test_coverage-sdbg +++ b/tools/docker/Dockerfile.test_coverage-sdbg @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_coverage-sdbg ../../ +# Usage: podman build -f ./Dockerfile.test_coverage-sdbg ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_cuda_A100 b/tools/docker/Dockerfile.test_cuda_A100 index 29c125b6bb..254ad2c1bf 100644 --- a/tools/docker/Dockerfile.test_cuda_A100 +++ b/tools/docker/Dockerfile.test_cuda_A100 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_cuda_A100 ../../ +# Usage: podman build -f ./Dockerfile.test_cuda_A100 ../../ # FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 @@ -43,7 +43,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_cuda_P100 b/tools/docker/Dockerfile.test_cuda_P100 index d910217624..283def59c3 100644 --- a/tools/docker/Dockerfile.test_cuda_P100 +++ b/tools/docker/Dockerfile.test_cuda_P100 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_cuda_P100 ../../ +# Usage: podman build -f ./Dockerfile.test_cuda_P100 ../../ # FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 @@ -43,7 +43,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_cuda_V100 b/tools/docker/Dockerfile.test_cuda_V100 index 5aa9b74823..69e124a178 100644 --- a/tools/docker/Dockerfile.test_cuda_V100 +++ b/tools/docker/Dockerfile.test_cuda_V100 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_cuda_V100 ../../ +# Usage: podman build -f ./Dockerfile.test_cuda_V100 ../../ # FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 @@ -43,7 +43,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_doxygen b/tools/docker/Dockerfile.test_doxygen index f3d5686dd3..7aebca072d 100644 --- a/tools/docker/Dockerfile.test_doxygen +++ b/tools/docker/Dockerfile.test_doxygen @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_doxygen ../../ +# Usage: podman build -f ./Dockerfile.test_doxygen ../../ # FROM ubuntu:24.04 diff --git a/tools/docker/Dockerfile.test_fedora-psmp b/tools/docker/Dockerfile.test_fedora-psmp index cdfa025295..a22652a6a5 100644 --- a/tools/docker/Dockerfile.test_fedora-psmp +++ b/tools/docker/Dockerfile.test_fedora-psmp @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_fedora-psmp ../../ +# Usage: podman build -f ./Dockerfile.test_fedora-psmp ../../ # FROM fedora:41 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_gcc10 b/tools/docker/Dockerfile.test_gcc10 index 79da713ac5..cc431c649a 100644 --- a/tools/docker/Dockerfile.test_gcc10 +++ b/tools/docker/Dockerfile.test_gcc10 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_gcc10 ../../ +# Usage: podman build -f ./Dockerfile.test_gcc10 ../../ # FROM ubuntu:24.04 diff --git a/tools/docker/Dockerfile.test_gcc11 b/tools/docker/Dockerfile.test_gcc11 index be85046479..d6087a1186 100644 --- a/tools/docker/Dockerfile.test_gcc11 +++ b/tools/docker/Dockerfile.test_gcc11 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_gcc11 ../../ +# Usage: podman build -f ./Dockerfile.test_gcc11 ../../ # FROM ubuntu:24.04 diff --git a/tools/docker/Dockerfile.test_gcc12 b/tools/docker/Dockerfile.test_gcc12 index 086afe7194..23d224ad03 100644 --- a/tools/docker/Dockerfile.test_gcc12 +++ b/tools/docker/Dockerfile.test_gcc12 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_gcc12 ../../ +# Usage: podman build -f ./Dockerfile.test_gcc12 ../../ # FROM ubuntu:24.04 diff --git a/tools/docker/Dockerfile.test_gcc13 b/tools/docker/Dockerfile.test_gcc13 index 45c56a70db..496d583869 100644 --- a/tools/docker/Dockerfile.test_gcc13 +++ b/tools/docker/Dockerfile.test_gcc13 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_gcc13 ../../ +# Usage: podman build -f ./Dockerfile.test_gcc13 ../../ # FROM ubuntu:24.04 diff --git a/tools/docker/Dockerfile.test_gcc14 b/tools/docker/Dockerfile.test_gcc14 index eb90b01722..a84f7b51d2 100644 --- a/tools/docker/Dockerfile.test_gcc14 +++ b/tools/docker/Dockerfile.test_gcc14 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_gcc14 ../../ +# Usage: podman build -f ./Dockerfile.test_gcc14 ../../ # FROM ubuntu:24.04 diff --git a/tools/docker/Dockerfile.test_gcc8 b/tools/docker/Dockerfile.test_gcc8 index f44346130e..9e872097b0 100644 --- a/tools/docker/Dockerfile.test_gcc8 +++ b/tools/docker/Dockerfile.test_gcc8 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_gcc8 ../../ +# Usage: podman build -f ./Dockerfile.test_gcc8 ../../ # FROM ubuntu:20.04 @@ -56,7 +56,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_gcc9 b/tools/docker/Dockerfile.test_gcc9 index 3b487e31ed..078b49be89 100644 --- a/tools/docker/Dockerfile.test_gcc9 +++ b/tools/docker/Dockerfile.test_gcc9 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_gcc9 ../../ +# Usage: podman build -f ./Dockerfile.test_gcc9 ../../ # FROM ubuntu:24.04 diff --git a/tools/docker/Dockerfile.test_generic_pdbg b/tools/docker/Dockerfile.test_generic_pdbg index fd0a792bc2..1c67e38bd6 100644 --- a/tools/docker/Dockerfile.test_generic_pdbg +++ b/tools/docker/Dockerfile.test_generic_pdbg @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_generic_pdbg ../../ +# Usage: podman build -f ./Dockerfile.test_generic_pdbg ../../ # FROM ubuntu:24.04 @@ -29,7 +29,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_generic_psmp b/tools/docker/Dockerfile.test_generic_psmp index f94c6c0eda..e82eee2bda 100644 --- a/tools/docker/Dockerfile.test_generic_psmp +++ b/tools/docker/Dockerfile.test_generic_psmp @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_generic_psmp ../../ +# Usage: podman build -f ./Dockerfile.test_generic_psmp ../../ # FROM ubuntu:24.04 @@ -29,7 +29,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_generic_sdbg b/tools/docker/Dockerfile.test_generic_sdbg index e33f3d671b..b9e4a09783 100644 --- a/tools/docker/Dockerfile.test_generic_sdbg +++ b/tools/docker/Dockerfile.test_generic_sdbg @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_generic_sdbg ../../ +# Usage: podman build -f ./Dockerfile.test_generic_sdbg ../../ # FROM ubuntu:24.04 @@ -29,7 +29,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_generic_ssmp b/tools/docker/Dockerfile.test_generic_ssmp index 77ec31f444..726ed3c662 100644 --- a/tools/docker/Dockerfile.test_generic_ssmp +++ b/tools/docker/Dockerfile.test_generic_ssmp @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_generic_ssmp ../../ +# Usage: podman build -f ./Dockerfile.test_generic_ssmp ../../ # FROM ubuntu:24.04 @@ -29,7 +29,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_gromacs b/tools/docker/Dockerfile.test_gromacs index 7b66a880b4..ce2b5a01ab 100644 --- a/tools/docker/Dockerfile.test_gromacs +++ b/tools/docker/Dockerfile.test_gromacs @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_gromacs ../../ +# Usage: podman build -f ./Dockerfile.test_gromacs ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_hip_cuda_A100 b/tools/docker/Dockerfile.test_hip_cuda_A100 index 84edd4c6c4..714e01b73c 100644 --- a/tools/docker/Dockerfile.test_hip_cuda_A100 +++ b/tools/docker/Dockerfile.test_hip_cuda_A100 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_hip_cuda_A100 ../../ +# Usage: podman build -f ./Dockerfile.test_hip_cuda_A100 ../../ # FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 @@ -125,7 +125,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_hip_cuda_P100 b/tools/docker/Dockerfile.test_hip_cuda_P100 index 1ab0545366..fa9e88176b 100644 --- a/tools/docker/Dockerfile.test_hip_cuda_P100 +++ b/tools/docker/Dockerfile.test_hip_cuda_P100 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_hip_cuda_P100 ../../ +# Usage: podman build -f ./Dockerfile.test_hip_cuda_P100 ../../ # FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 @@ -125,7 +125,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_hip_cuda_V100 b/tools/docker/Dockerfile.test_hip_cuda_V100 index cae2311449..b1bcb7317e 100644 --- a/tools/docker/Dockerfile.test_hip_cuda_V100 +++ b/tools/docker/Dockerfile.test_hip_cuda_V100 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_hip_cuda_V100 ../../ +# Usage: podman build -f ./Dockerfile.test_hip_cuda_V100 ../../ # FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 @@ -125,7 +125,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_hip_rocm_Mi100 b/tools/docker/Dockerfile.test_hip_rocm_Mi100 index 432b8f14b5..ad0de87f9e 100644 --- a/tools/docker/Dockerfile.test_hip_rocm_Mi100 +++ b/tools/docker/Dockerfile.test_hip_rocm_Mi100 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_hip_rocm_Mi100 ../../ +# Usage: podman build -f ./Dockerfile.test_hip_rocm_Mi100 ../../ # FROM rocm/dev-ubuntu-22.04:5.3.2-complete @@ -43,7 +43,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_hip_rocm_Mi50 b/tools/docker/Dockerfile.test_hip_rocm_Mi50 index f0181f74bd..9a5ff2c2cb 100644 --- a/tools/docker/Dockerfile.test_hip_rocm_Mi50 +++ b/tools/docker/Dockerfile.test_hip_rocm_Mi50 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_hip_rocm_Mi50 ../../ +# Usage: podman build -f ./Dockerfile.test_hip_rocm_Mi50 ../../ # FROM rocm/dev-ubuntu-22.04:5.3.2-complete @@ -43,7 +43,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_i-pi b/tools/docker/Dockerfile.test_i-pi index 0ede7e0645..5835625a11 100644 --- a/tools/docker/Dockerfile.test_i-pi +++ b/tools/docker/Dockerfile.test_i-pi @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_i-pi ../../ +# Usage: podman build -f ./Dockerfile.test_i-pi ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_intel-psmp b/tools/docker/Dockerfile.test_intel-psmp index f07b710a5f..71e5dea65a 100644 --- a/tools/docker/Dockerfile.test_intel-psmp +++ b/tools/docker/Dockerfile.test_intel-psmp @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_intel-psmp ../../ +# Usage: podman build -f ./Dockerfile.test_intel-psmp ../../ # FROM intel/hpckit:2024.2.1-0-devel-ubuntu22.04 @@ -31,7 +31,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_intel-ssmp b/tools/docker/Dockerfile.test_intel-ssmp index e441908701..7825a86ce5 100644 --- a/tools/docker/Dockerfile.test_intel-ssmp +++ b/tools/docker/Dockerfile.test_intel-ssmp @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_intel-ssmp ../../ +# Usage: podman build -f ./Dockerfile.test_intel-ssmp ../../ # FROM intel/hpckit:2024.2.1-0-devel-ubuntu22.04 @@ -31,7 +31,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_manual b/tools/docker/Dockerfile.test_manual index fdbeb32e69..968d76e479 100644 --- a/tools/docker/Dockerfile.test_manual +++ b/tools/docker/Dockerfile.test_manual @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_manual ../../ +# Usage: podman build -f ./Dockerfile.test_manual ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_minimal b/tools/docker/Dockerfile.test_minimal index 7ae9e069b7..7c6af0d7a2 100644 --- a/tools/docker/Dockerfile.test_minimal +++ b/tools/docker/Dockerfile.test_minimal @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_minimal ../../ +# Usage: podman build -f ./Dockerfile.test_minimal ../../ # FROM ubuntu:24.04 diff --git a/tools/docker/Dockerfile.test_misc b/tools/docker/Dockerfile.test_misc index 23917dbe34..53f055e490 100644 --- a/tools/docker/Dockerfile.test_misc +++ b/tools/docker/Dockerfile.test_misc @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_misc ../../ +# Usage: podman build -f ./Dockerfile.test_misc ../../ # FROM ubuntu:24.04 diff --git a/tools/docker/Dockerfile.test_nvhpc b/tools/docker/Dockerfile.test_nvhpc index c361e5798b..9488b36cb4 100644 --- a/tools/docker/Dockerfile.test_nvhpc +++ b/tools/docker/Dockerfile.test_nvhpc @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_nvhpc ../../ +# Usage: podman build -f ./Dockerfile.test_nvhpc ../../ # FROM ubuntu:22.04 diff --git a/tools/docker/Dockerfile.test_openmpi-psmp b/tools/docker/Dockerfile.test_openmpi-psmp index 23469c40ea..d3bb35d2b3 100644 --- a/tools/docker/Dockerfile.test_openmpi-psmp +++ b/tools/docker/Dockerfile.test_openmpi-psmp @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_openmpi-psmp ../../ +# Usage: podman build -f ./Dockerfile.test_openmpi-psmp ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_pdbg b/tools/docker/Dockerfile.test_pdbg index 69b66f3a35..68c236fe86 100644 --- a/tools/docker/Dockerfile.test_pdbg +++ b/tools/docker/Dockerfile.test_pdbg @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_pdbg ../../ +# Usage: podman build -f ./Dockerfile.test_pdbg ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_performance b/tools/docker/Dockerfile.test_performance index 2e439e4314..583fd2b687 100644 --- a/tools/docker/Dockerfile.test_performance +++ b/tools/docker/Dockerfile.test_performance @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_performance ../../ +# Usage: podman build -f ./Dockerfile.test_performance ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_performance_cuda_A100 b/tools/docker/Dockerfile.test_performance_cuda_A100 index 0f7a51aede..73de5d6d4e 100644 --- a/tools/docker/Dockerfile.test_performance_cuda_A100 +++ b/tools/docker/Dockerfile.test_performance_cuda_A100 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_performance_cuda_A100 ../../ +# Usage: podman build -f ./Dockerfile.test_performance_cuda_A100 ../../ # FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 @@ -43,7 +43,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_performance_cuda_P100 b/tools/docker/Dockerfile.test_performance_cuda_P100 index 2c9933ac72..56e8c402f0 100644 --- a/tools/docker/Dockerfile.test_performance_cuda_P100 +++ b/tools/docker/Dockerfile.test_performance_cuda_P100 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_performance_cuda_P100 ../../ +# Usage: podman build -f ./Dockerfile.test_performance_cuda_P100 ../../ # FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 @@ -43,7 +43,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_performance_cuda_V100 b/tools/docker/Dockerfile.test_performance_cuda_V100 index 2bf91b0266..74e9fe7f93 100644 --- a/tools/docker/Dockerfile.test_performance_cuda_V100 +++ b/tools/docker/Dockerfile.test_performance_cuda_V100 @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_performance_cuda_V100 ../../ +# Usage: podman build -f ./Dockerfile.test_performance_cuda_V100 ../../ # FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 @@ -43,7 +43,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_precommit b/tools/docker/Dockerfile.test_precommit index b7581f467b..2144fe34d3 100644 --- a/tools/docker/Dockerfile.test_precommit +++ b/tools/docker/Dockerfile.test_precommit @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_precommit ../../ +# Usage: podman build -f ./Dockerfile.test_precommit ../../ # FROM ubuntu:24.04 diff --git a/tools/docker/Dockerfile.test_psmp b/tools/docker/Dockerfile.test_psmp index fe124c14b9..03d7540904 100644 --- a/tools/docker/Dockerfile.test_psmp +++ b/tools/docker/Dockerfile.test_psmp @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_psmp ../../ +# Usage: podman build -f ./Dockerfile.test_psmp ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_sdbg b/tools/docker/Dockerfile.test_sdbg index 7e94ab54cd..6e61a2f99e 100644 --- a/tools/docker/Dockerfile.test_sdbg +++ b/tools/docker/Dockerfile.test_sdbg @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_sdbg ../../ +# Usage: podman build -f ./Dockerfile.test_sdbg ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/Dockerfile.test_spack b/tools/docker/Dockerfile.test_spack index a4795cf034..cdc5cdf9f5 100644 --- a/tools/docker/Dockerfile.test_spack +++ b/tools/docker/Dockerfile.test_spack @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_spack ../../ +# Usage: podman build -f ./Dockerfile.test_spack ../../ # FROM ubuntu:24.04 diff --git a/tools/docker/Dockerfile.test_ssmp b/tools/docker/Dockerfile.test_ssmp index 14760fa9eb..c7536affd5 100644 --- a/tools/docker/Dockerfile.test_ssmp +++ b/tools/docker/Dockerfile.test_ssmp @@ -1,6 +1,6 @@ # # This file was created by generate_dockerfiles.py. -# Usage: docker build -f ./Dockerfile.test_ssmp ../../ +# Usage: podman build -f ./Dockerfile.test_ssmp ../../ # FROM ubuntu:24.04 @@ -28,7 +28,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build diff --git a/tools/docker/README.md b/tools/docker/README.md index f087ada860..0c92ff20dc 100644 --- a/tools/docker/README.md +++ b/tools/docker/README.md @@ -10,11 +10,11 @@ To run a test one simply has to build the image: ```shell ./spack_cache_start.sh -docker build --network=host --shm-size=1g -f Dockerfile.test_sdbg -t cp2k_test_sdbg ../../ +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: ```shell -docker run cp2k_test_sdbg +podman run cp2k_test_sdbg ``` diff --git a/tools/docker/generate_dockerfiles.py b/tools/docker/generate_dockerfiles.py index 5f274ffacd..29842a89b5 100755 --- a/tools/docker/generate_dockerfiles.py +++ b/tools/docker/generate_dockerfiles.py @@ -788,7 +788,7 @@ RUN ./install_cp2k_toolchain.sh \ --dry-run # Dry-run leaves behind config files for the followup install scripts. -# This breaks up the lengthy installation into smaller docker build steps. +# This breaks up the lengthy installation into smaller build steps. COPY ./tools/toolchain/scripts/stage0/ ./scripts/stage0/ RUN ./scripts/stage0/install_stage0.sh && rm -rf ./build @@ -919,7 +919,7 @@ class OutputFile: self.content = io.StringIO() self.content.write(f"#\n") self.content.write(f"# This file was created by generate_dockerfiles.py.\n") - self.content.write(f"# Usage: docker build -f ./{filename} ../../\n") + self.content.write(f"# Usage: podman build -f ./{filename} ../../\n") self.content.write(f"#\n") def __enter__(self) -> io.StringIO: diff --git a/tools/docker/spack_cache_list.sh b/tools/docker/spack_cache_list.sh index da04f45af4..3c55d0e4d6 100755 --- a/tools/docker/spack_cache_list.sh +++ b/tools/docker/spack_cache_list.sh @@ -2,6 +2,6 @@ # author: Ole Schuett -docker exec spack-cache mc ls --recursive --summarize local/spack-cache +podman exec spack-cache mc ls --recursive --summarize local/spack-cache #EOF diff --git a/tools/docker/spack_cache_remove.sh b/tools/docker/spack_cache_remove.sh index 393206b063..ed601ef8e3 100755 --- a/tools/docker/spack_cache_remove.sh +++ b/tools/docker/spack_cache_remove.sh @@ -2,6 +2,6 @@ # author: Ole Schuett -docker rm spack-cache +podman rm spack-cache #EOF diff --git a/tools/docker/spack_cache_start.sh b/tools/docker/spack_cache_start.sh index 8359db4668..c41fb735d0 100755 --- a/tools/docker/spack_cache_start.sh +++ b/tools/docker/spack_cache_start.sh @@ -2,25 +2,25 @@ # author: Ole Schuett -if docker start spack-cache; then +if podman start spack-cache; then echo "Re-started existing spack cache." else # Start MinIO server. - docker run --name spack-cache --detach -p 9000:9000 -p 9001:9001 \ + podman run --name spack-cache --detach -p 9000:9000 -p 9001:9001 \ quay.io/minio/minio server /data --console-address ":9001" sleep 3 - docker container logs spack-cache + podman container logs spack-cache # Configure localhost. - docker exec spack-cache mc alias set local http://localhost:9000 minioadmin minioadmin + podman exec spack-cache mc alias set local http://localhost:9000 minioadmin minioadmin # Create bucket. - docker exec spack-cache mc mb local/spack-cache + podman exec spack-cache mc mb local/spack-cache # Make bucket public. - docker exec spack-cache mc anonymous set public local/spack-cache + podman exec spack-cache mc anonymous set public local/spack-cache echo "Started new spack cache." fi diff --git a/tools/docker/spack_cache_stop.sh b/tools/docker/spack_cache_stop.sh index 788f6a00fc..a8a2dd1c6a 100755 --- a/tools/docker/spack_cache_stop.sh +++ b/tools/docker/spack_cache_stop.sh @@ -2,6 +2,6 @@ # author: Ole Schuett -docker container stop spack-cache +podman container stop spack-cache #EOF