Podman: Difference between revisions

From Alpine Linux
No edit summary
Line 9: Line 9:


   podman run --rm hello-world
   podman run --rm hello-world
For rootless Podman set uid/gid mapping
  usermod --add-subuids 100000-165535 <user>
  usermod --add-subgids 100000-165535 <user>
  podman system migrate

Revision as of 21:58, 22 July 2021

Installation

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

 apk add podman


Run an example container to verify everything works

 podman run --rm hello-world


For rootless Podman set uid/gid mapping

 usermod --add-subuids 100000-165535 <user>
 usermod --add-subgids 100000-165535 <user>
 podman system migrate