Podman

From Alpine Linux
Revision as of 09:39, 25 August 2021 by Dysfun (talk | contribs) (Added the missing steps to get rootless working)

Installation

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

 apk add podman

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