Podman

From Alpine Linux
Revision as of 20:07, 17 November 2021 by Agrof (talk | contribs) (Brought back necessary steps to run podman)

Installation

The Podman package is from the alpine version 3.14 on in the 'community' repository.

 apk add podman

To run Podman you'll need to enable the cgroups service, see Alpine_Linux_Init_System.

 rc-update add cgroups
 rc-service cgroups start

For rootless support:

 apk add fuse-overlayfs shadow slirp4netns
 modprobe tun
 usermod --add-subuids 100000-165535 <user>
 usermod --add-subgids 100000-165535 <user>
 podman system migrate

Run an example container to verify everything works

 podman run --rm hello-world