Podman install

From wikinotes
Revision as of 18:43, 24 September 2023 by Will (talk | contribs) (→‎Install)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archlinux

Install

pacman -S podman
pacman -S podman-compose
pacman -S aardvark-dns    # required for DNS within containers

No daemon is required

Disable cgroups2

cgroups2 doesn't support realtime processes yet, which causes the error:
Error: OCI runtime error: crun: writing file `/sys/fs/cgroup/cgroup.subtree_control` invalid argument

Set the Linux kernel configuration kernel-option to use the original cgroups.

systemd.unified_cgroup_hierarchy=0

See podman troubleshooting for more details.