Anything you do to Podman twice should be automated. This walks the path from a manual install to a repeatable, pipeline-driven setup.
1. Install it reproducibly
sudo apt-get install -y podman # or brew install podman
podman info
alias docker=podman2. Describe the desired state
Run a rootless container and generate a systemd unit.
podman run -d --name web -p 8080:80 nginx:alpine
podman generate systemd --new --name web > ~/.config/systemd/user/web.service
systemctl --user enable --now web3. Run it from CI
Build and push with Buildah/Podman in CI.
- run: podman build -t ghcr.io/acme/web:$GITHUB_SHA .
- run: podman push ghcr.io/acme/web:$GITHUB_SHAWant senior help putting Podman to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.