hashipi

Raspberry Pi Test Cluster for HashiCorp Vault, Nomad and Consul
git clone https://git.in0rdr.ch/hashipi.git
Log | Files | Refs | Pull requests |Archive | README

commit 92c51a0a51544630523f06f52677797a376112f9
parent 65c21d77408f752dff6e3b098f3cb1f42b1bf657
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sat,  6 Sep 2025 17:02:05 +0200

feat(podman): use overlay storage

Use overlay storage for root containers (Nomad plugin) and rootless
containers (Jenkins):
* https://github.com/containers/storage/blob/main/docs/containers-storage.conf.5.md#storage-table

Diffstat:
Mnomad.sh | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/nomad.sh b/nomad.sh @@ -16,6 +16,14 @@ unzip "nomad-driver-podman_${NOMAD_PODMAN_DRIVER_VERSION}_linux_${ARCHITECTURE}. mkdir -p /opt/nomad/plugins/ mv nomad-driver-podman /opt/nomad/plugins/ +# Configure overlay storage for Podman +cat <<EOF > /etc/containers/storage.conf +[storage] +driver="overlay" +runroot = "/var/run/containers/storage" +graphroot = "/var/lib/containers/storage" +EOF + # Create Nomad data directory mkdir -p /opt/nomad