Podman: Difference between revisions
Jens.klose (talk | contribs) No edit summary |
(Added the missing steps to get rootless working) |
||
Line 5: | Line 5: | ||
apk add podman | 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 | Run an example container to verify everything works | ||
podman run --rm hello-world | podman run --rm hello-world | ||
Revision as of 09:39, 25 August 2021
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