Podman install: Difference between revisions

From wikinotes
No edit summary
Line 1: Line 1:
= Archlinux =
= Archlinux =
<blockquote>
== Install ==
<blockquote>
<blockquote>
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 7: Line 9:


No daemon is required
No daemon is required
</blockquote><!-- Install -->
== Disable cgroups2 ==
<blockquote>
cgroups2 doesn't support realtime processes yet, which causes the error:<br>
'''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.
<syntaxhighlight lang="bash">
systemd.unified_cgroup_hierarchy=0
</syntaxhighlight>
See [[podman troubleshooting]] for more details.
</blockquote><!-- Disable cgroups2 -->
</blockquote><!-- Archlinux -->
</blockquote><!-- Archlinux -->

Revision as of 18:17, 24 September 2023

Archlinux

Install

pacman -S podman
pacman -S podman-compose

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.