Podman

From Alpine Linux
Jump to: navigation, search

Installation

The Podman package is in the 'Testing' repository. See Alpine_Linux_package_management how to add a 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

Run an example container to verify everything works

podman run -d --rm --name nginx -p 80:80 docker.io/nginx:latest
curl localhost
podman stop nginx