From d04f6528310a3a24a4e33c28bf41caed17d9a104 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 18 Mar 2025 14:40:45 -0400 Subject: [PATCH] Import an initial recipe for podman to track the /etc/sub*id files. --- services/alpine.json | 2 +- services/podman/subgid.template | 1 + services/podman/subuid.template | 1 + services/podman/system.json | 10 ++++++++++ 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 services/podman/subgid.template create mode 100644 services/podman/subuid.template create mode 100644 services/podman/system.json diff --git a/services/alpine.json b/services/alpine.json index d9c6260..40a3c57 100644 --- a/services/alpine.json +++ b/services/alpine.json @@ -5,13 +5,13 @@ system: { system_packages: [ "alpine-base", "doas", "linux-lts", "syslinux", "ifupdown-ng", "util-linux", "mount", - "podman", "podman-compose", ], } services: { ssh: { enable: "true" }, firewall: { enable: "true" }, + podman: { enable: "true" }, } } diff --git a/services/podman/subgid.template b/services/podman/subgid.template new file mode 100644 index 0000000..eadd185 --- /dev/null +++ b/services/podman/subgid.template @@ -0,0 +1 @@ +root:1000000:1000000000 diff --git a/services/podman/subuid.template b/services/podman/subuid.template new file mode 100644 index 0000000..eadd185 --- /dev/null +++ b/services/podman/subuid.template @@ -0,0 +1 @@ +root:1000000:1000000000 diff --git a/services/podman/system.json b/services/podman/system.json new file mode 100644 index 0000000..ed7eab9 --- /dev/null +++ b/services/podman/system.json @@ -0,0 +1,10 @@ +{ +enable: "true", + +provider: "system", +packages: ["podman", "podman-compose"], +configFiles: [ + "subuid.template:/etc/subuid", + "subgid.template:/etc/subgid", +], +}