Podman install: Difference between revisions

From wikinotes
No edit summary
 
Line 6: Line 6:
pacman -S podman
pacman -S podman
pacman -S podman-compose
pacman -S podman-compose
pacman -S aardvark-dns    # required for DNS within containers
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 18:43, 24 September 2023

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.