DockerSelf-Hosting

Podman: Run Your Containers Rootless and Docker-Compatible (Linux, Windows, Mac)

Before you start

  • 19 min read

Boxes marked Run in terminal are what you type; plain text explains why. Check what you need first

What you get in one minute#

Podman is a free, open-source container engine that runs the same images as Docker, but as your own user and with no always-on background daemon, so a container only ever has the rights of the person who started it.

Podman official logo

Logo: the official Podman project (github.com/podman-container-tools/podman, file logo/podman-logo-source.svg at commit ba03f44; Apache-2.0, trademarks reserved)

The commands look like Docker's (podman run, podman ps). On Linux Podman uses the kernel directly. On Windows and Mac it starts a small Linux virtual machine called a podman machine. It suits a home lab: containers without a root-powered daemon, and always-on services that systemd (the Linux service manager) starts at boot.

WhatValue (official sources, read 3 December 2026)
Current versionPodman 6.2.1, released 24 November 2026. The 5.8 line is a long-term-support branch until 7 June 2027
Repositorypodman-container-tools/podman (moved from containers/podman with Podman 6.0; old links redirect)
LicenceApache-2.0
Time neededAbout 45 minutes (our estimate)
RAM and sizeNo official figure, none measured
PortsNone by default. Examples use 127.0.0.1:8080, and 80/443 for HTTPS
Official docsdocs.podman.io and podman.io

At a glance:

  • Rootless: container root is your own user on the host.
  • Docker-like: same images, similar commands, and a Docker-compatible socket for tools such as Traefik.
  • Always-on on Linux: Quadlet turns a small file into a systemd service.
  • Not covered: Kubernetes, Buildah builds and Podman Desktop.

Which version. We pin 6.2.1. Podman 6.0 removed Windows 10, Intel Macs, cgroups v1, iptables, CNI and slirp4netns, so older tutorials may not fit. 6.2.0 has three security fixes, one for podman auto-update; its one reported regression (#30233) is reverted in 6.2.1.

How it fits together#

Three doors lead to Podman: your podman commands, a Docker tool talking to the Podman socket, and systemd units generated from your Quadlet files. Podman then pulls images and creates containers as your user.

Podman flow: the podman command, Docker tools through podman.socket and systemd user services generated from Quadlet files all reach Podman, which runs as your user without a daemon, creates the containers and pulls images from a registry

Drawn for this guide from the official docs. On Windows and Mac the middle lane runs inside the podman machine.

Rootless means Podman runs as a normal user. Quadlet describes a container in a systemd file. A registry stores images (docker.io, quay.io, ghcr.io).

Before you start#

Note: every domain, e-mail and password on this page is a dummy example (example.com, change-me). Replace it with your own and keep real secrets out of Git.

SystemWhat to have
Linuxsystemd, cgroups v2 and Podman 5 or newer. Distribution builds on 3 December: Debian 13 has 5.4.2, Ubuntu 26.04 has 5.7.0. Debian 12 (4.3.1) and Ubuntu 22.04 (3.4.4) are too old: Quadlet needs 4.4
WindowsWindows 11, virtualization on, WSL 2.5.1 or newer (2.7.5 recommended), PowerShell
MacApple Silicon. Intel Macs are dropped in Podman 6; try our Colima guide

Check what you have:

Run in terminalbash
podman --version

Checklist:

  • [ ] A normal user account (not root)
  • [ ] Docker configs and data backed up before you migrate anything
  • [ ] Port 8080 free
  • [ ] Only for HTTPS: a domain, DNS pointing to your server, ports 80 and 443 reachable

Tested by DIY Lab Hub: not yet. Commands come from the official docs and release notes at v6.2.1 (3 December 2026); we did not run them on a real machine.

Step 1: Install Podman#

Linux#

Use your distribution's package: upstream offers only a remote client for Linux. uidmap gives the user-ID helpers and passt the rootless network tool (pasta).

Run in terminalbash
# Debian, Ubuntu
sudo apt-get update
sudo apt-get install -y podman passt uidmap

# Fedora
sudo dnf install -y podman passt

Linux does not need podman machine.

Windows (PowerShell)#

Update WSL first. If wsl --version fails, run wsl --install once in an administrator PowerShell.

Run in terminalpowershell
wsl --update
wsl --version

Download the installer from the release page and run it. It installs for your user without administrator rights. On an ARM PC use the arm64 file.

Codepowershell
$url = "https://github.com/podman-container-tools/podman/releases/download/v6.2.1/podman-installer-windows-amd64.msi"
Invoke-WebRequest -Uri $url -OutFile "$HOME\Downloads\podman-installer.msi"
Start-Process msiexec.exe -ArgumentList "/i `"$HOME\Downloads\podman-installer.msi`"" -Wait

In a new PowerShell:

Run in terminalpowershell
podman machine init
podman machine start

An older Podman (before 6.0) must be uninstalled first: the MSI cannot upgrade it in place, and your data survives (Podman blog, July 2026).

Mac (Terminal)#

Download the installer package from the release page (the official recommendation) and open it:

Run in terminalbash
curl -L -o ~/Downloads/podman-installer-macos-arm64.pkg \
  https://github.com/podman-container-tools/podman/releases/download/v6.2.1/podman-installer-macos-arm64.pkg
open ~/Downloads/podman-installer-macos-arm64.pkg

Then, in a new Terminal:

Run in terminalbash
podman machine init
podman machine start

brew install podman also works, but the official page advises against it (community-maintained).

Check it worked. On every system:

Run in terminalbash
podman --version
podman info

podman machine start ends with Machine "podman-machine-default" started successfully (expected, from the Windows guide).

Tip: On Windows and Mac your containers and images live inside the machine. Do not run podman machine rm to "fix" an empty container list: it can delete them (see Known bugs).

Step 2: Run your first rootless container#

We pin the image tag and write the full image name. Binding to 127.0.0.1 keeps the port private.

Linux#

Run in terminalbash
podman run --rm -d --name web-test -p 127.0.0.1:8080:80 docker.io/library/nginx:1.30.8-alpine
podman ps
curl -I http://127.0.0.1:8080
podman stop web-test

Windows (PowerShell)#

Run in terminalpowershell
podman run --rm -d --name web-test -p 127.0.0.1:8080:80 docker.io/library/nginx:1.30.8-alpine
podman ps
curl.exe -I http://127.0.0.1:8080
podman stop web-test

Mac (Terminal)#

Same commands as Linux.

Check it worked. podman ps lists web-test, and curl prints HTTP/1.1 200 OK first (expected). --rm removes the container on stop.

Tip: Write docker.io/library/nginx:1.30.8-alpine, not nginx:alpine. A script or service cannot answer Podman's question about which registry you mean (see Common mistakes).

Step 3: Check the rootless basics#

Rootless Podman needs extra user IDs, a network helper and a decision about ports below 1024.

Linux#

Run in terminalbash
grep "^$(id -un):" /etc/subuid /etc/subgid
command -v newuidmap newgidmap pasta
sysctl net.ipv4.ip_unprivileged_port_start
podman info --format '{{.Host.Security.Rootless}}'
podman info --format '{{.Host.CgroupsVersion}}'

Expected (shape from the docs): /etc/subuid:<your-user>:100000:65536, three paths, 1024, true, v2.

SettingWhat it means
/etc/subuid, /etc/subgidA range of extra IDs per user (here 65,536). Ranges must not overlap
newuidmap, newgidmapHelpers that must be root-owned and setuid: use the uidmap package
pastaRootless networking. Podman 6 removed slirp4netns
ip_unprivileged_port_startNormal users cannot bind below this port. Default 1024, so -p 80:80 fails

If you have no range, an administrator adds one nobody else uses, then you run podman system migrate (rootless tutorial):

Run in terminalbash
sudo usermod --add-subuids 100000-165535 --add-subgids 100000-165535 <your-user>
podman system migrate

Inside the container, root is your user: files it creates as root are yours on the host. An image that runs as a non-root user and needs your bind-mounted folder needs --userns=keep-id.

Windows (PowerShell)#

The machine is rootless by default. Look inside:

Run in terminalpowershell
podman machine ssh sysctl net.ipv4.ip_unprivileged_port_start
podman machine list

For ports below 1024 the docs switch the machine to rootful: podman machine stop, podman machine set --rootful, podman machine start. Rootful and rootless containers do not see each other.

Mac (Terminal)#

Same commands as Windows.

Check it worked. podman info --format '{{.Host.Security.Rootless}}' prints true on every system.

Tip: sudo podman is a different, rootful Podman with its own images and containers. Do not use it to get around a port or permission error.

Step 4: Use Compose#

Compose runs a stack from one compose.yaml. Podman has three ways, all different programs:

ToolWhat it is
podman-composeA separate Python project (GPL-2.0, v1.6.0) that drives the Podman command line
podman composeA wrapper that starts another provider. If docker-compose is installed it wins over podman-compose (man page)
docker-composeDocker's tool, pointed at the Podman socket (Step 5)

We use podman-compose and name it explicitly.

Linux#

Run in terminalbash
sudo apt-get install -y podman-compose    # Debian trixie and newer, Ubuntu
# sudo dnf install -y podman-compose      # Fedora
mkdir -p ~/docker_volumes/podman-demo/{data/html,config,logs,backups}
cd ~/docker_volumes/podman-demo
echo '<h1>Hello from Podman (dummy page)</h1>' > data/html/index.html
cat > compose.yaml << 'EOF'
services:
  web:
    image: docker.io/library/nginx:1.30.8-alpine
    container_name: podman-demo-web
    restart: unless-stopped
    ports:
      - "127.0.0.1:8080:80"
    volumes:
      - ./data/html:/usr/share/nginx/html:ro
EOF
podman-compose up -d
podman-compose ps

Windows (PowerShell)#

podman-compose needs Python 3.9 or newer.

Run in terminalpowershell
pip install --user podman-compose
$base = "$HOME\docker_volumes\podman-demo"
New-Item -ItemType Directory -Force "$base\data\html","$base\config","$base\logs","$base\backups" | Out-Null
Set-Location $base
Set-Content -Encoding ascii data\html\index.html '<h1>Hello from Podman (dummy page)</h1>'
@'
services:
  web:
    image: docker.io/library/nginx:1.30.8-alpine
    container_name: podman-demo-web
    restart: unless-stopped
    ports:
      - "127.0.0.1:8080:80"
    volumes:
      - ./data/html:/usr/share/nginx/html:ro
'@ | Set-Content -Encoding ascii compose.yaml
podman-compose up -d
podman-compose ps

Mac (Terminal)#

Install with brew install podman-compose (listed in its README), then run the Linux commands from mkdir on.

Check it worked. curl http://127.0.0.1:8080 (Windows: curl.exe) prints the dummy page. podman-compose down stops and removes it.

To make podman compose use it, set export PODMAN_COMPOSE_PROVIDER=podman-compose (PowerShell: $env:PODMAN_COMPOSE_PROVIDER = "podman-compose").

Tip: A Compose file that loads is not proof of Docker behaviour: test builds, networks, health checks and start order per stack. On Fedora and other SELinux systems write the bind mount as ./data/html:/usr/share/nginx/html:ro,Z (a private label).

Step 5: Use the Docker-compatible socket#

Tools made for Docker (Traefik, Dockge, docker-compose) talk to an API socket. Podman provides one that speaks Docker's v1.40 API. It starts on demand.

Linux#

Run in terminalbash
systemctl --user enable --now podman.socket
export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/podman/podman.sock"
curl -s --unix-socket "$XDG_RUNTIME_DIR/podman/podman.sock" http://localhost/_ping
sudo loginctl enable-linger "$USER"

The rootful socket is /run/podman/podman.sock. Linger keeps your user's services running after logout.

Windows (PowerShell)#

podman machine start forwards the API to the Docker pipe (npipe:////./pipe/docker_engine); Docker clients need no setting. If another program owns that pipe, Podman prints this instead:

Codepowershell
$Env:DOCKER_HOST = 'npipe:////./pipe/podman-machine-default'

Mac (Terminal)#

Ask the machine for its socket:

Run in terminalbash
podman machine inspect --format '{{.ConnectionInfo.PodmanSocket.Path}}'
export DOCKER_HOST="unix://<path-printed-above>"

Check it worked. On Linux the curl prints OK (our expectation, not shown in the docs). With a Docker client, docker version --format '{{(index .Server.Components 0).Name}}' prints Podman Engine (Windows guide).

Tip: Whoever can use this socket can run any code as your user. Never put it on a TCP port without mutual TLS. For a filtered view see our Docker socket proxy guide.

Step 6: Keep services running with Quadlet (Linux)#

Quadlet reads files in ~/.config/containers/systemd/ and generates systemd units from them. podman-demo-web.container becomes podman-demo-web.service.

Linux#

Run in terminalbash
mkdir -p ~/.config/containers/systemd
cat > ~/.config/containers/systemd/homelab.network << 'EOF'
[Network]
NetworkName=homelab
EOF
cat > ~/.config/containers/systemd/podman-demo-web.container << 'EOF'
[Unit]
Description=Podman demo web server

[Container]
ContainerName=podman-demo-web
Image=docker.io/library/nginx:1.30.8-alpine
Network=homelab.network
PublishPort=127.0.0.1:8080:80
Volume=%h/docker_volumes/podman-demo/data/html:/usr/share/nginx/html:ro
AutoUpdate=registry

[Service]
Restart=always
TimeoutStartSec=900

[Install]
WantedBy=default.target
EOF
podman-compose -f ~/docker_volumes/podman-demo/compose.yaml down
systemctl --user daemon-reload
systemctl --user start podman-demo-web.service
systemctl --user status podman-demo-web.service
sudo loginctl enable-linger "$USER"

%h is your home folder. TimeoutStartSec=900 gives a first image pull 15 minutes instead of 90 seconds. [Install] replaces systemctl enable. AutoUpdate=registry needs a full image name.

Optional automatic image updates (start with the dry run):

Run in terminalbash
systemctl --user enable --now podman-auto-update.timer
podman auto-update --dry-run

The timer runs daily at midnight. With a pinned tag it only picks up rebuilds of that tag; to hear about new versions use our Diun guide. Back up first: image rollback is not data rollback.

Windows (PowerShell)#

Quadlet is a Linux systemd feature; we found no official guide for it inside a podman machine. Use a small Linux machine for always-on services.

Mac (Terminal)#

Same. The official docs have a launchd tutorial that starts the machine at login (macos_autostart.md).

Check it worked. systemctl --user status podman-demo-web.service shows active (running), and after a reboot the page still answers.

Tip: Never run systemctl --user enable on a Quadlet unit: it fails with Failed to enable unit: Unit ... is transient or generated. Use [Install] in the file. Without ContainerName= the container is named systemd-<file name>.

Put it behind HTTPS (with or without Traefik)#

This is for a server with a domain; skip it if you use Podman only on your own computer. Ports 80 and 443 are below 1024, so on a Linux server we lower the limit for all users' programs (a host-wide change the docs allow):

Run in terminalbash
echo 'net.ipv4.ip_unprivileged_port_start=80' | sudo tee /etc/sysctl.d/99-rootless-ports.conf
sudo sysctl --system

On Windows and Mac use high ports for tests, or a rootful machine. For a public server we suggest Linux.

With Traefik#

Traefik has no "podman" provider: it uses its Docker provider, and we mount the Podman socket where it expects Docker's. Traefik's docs do not describe Podman setups, so this is our adaptation of documented parts. We did not run it; users report running it (issue 11026).

Run in terminalbash
mkdir -p ~/docker_volumes/traefik/{data,config,logs,backups}
cd ~/docker_volumes/traefik
podman network create proxy
cat > .env << 'EOF'
[email protected]
APP_DOMAIN=whoami.example.com
EOF
chmod 600 .env
cat > compose.yaml << 'EOF'
services:
  traefik:
    image: docker.io/library/traefik:v3.8.0
    container_name: traefik
    restart: unless-stopped
    security_opt:
      - label=disable
    command:
      - "--providers.docker=true"
      - "--providers.docker.exposedbydefault=false"
      - "--providers.docker.network=proxy"
      - "--entrypoints.http.address=:80"
      - "--entrypoints.http.http.redirections.entrypoint.to=https"
      - "--entrypoints.http.http.redirections.entrypoint.scheme=https"
      - "--entrypoints.https.address=:443"
      - "--certificatesresolvers.le.acme.email=${ACME_EMAIL}"
      - "--certificatesresolvers.le.acme.storage=/letsencrypt/acme.json"
      - "--certificatesresolvers.le.acme.httpchallenge.entrypoint=http"
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ${XDG_RUNTIME_DIR}/podman/podman.sock:/var/run/docker.sock:ro
      - ./data:/letsencrypt
    networks:
      - proxy

  whoami:
    image: docker.io/traefik/whoami:v1.12.0
    container_name: whoami
    restart: unless-stopped
    labels:
      - "traefik.enable=true"
      - "traefik.docker.network=proxy"
      - "traefik.http.routers.whoami.rule=Host(`${APP_DOMAIN}`)"
      - "traefik.http.routers.whoami.entrypoints=https"
      - "traefik.http.routers.whoami.tls=true"
      - "traefik.http.routers.whoami.tls.certresolver=le"
      - "traefik.http.services.whoami.loadbalancer.server.port=80"
    networks:
      - proxy

networks:
  proxy:
    external: true
EOF
podman-compose up -d

[email protected] and whoami.example.com are dummy values: use your e-mail and a name that points to your server. What matters:

PartWhy
security_opt: label=disablePodman's docs: a container using the API socket needs SELinux separation off. Never relabel the socket with :Z
entrypoints=https, tls.certresolver=leNames defined in Traefik's own settings; labels only refer to them
loadbalancer.server.port=80The port inside the app container, not a host port
./data:/letsencryptHolds the certificates. On SELinux hosts write ./data:/letsencrypt:Z

Check it worked. podman-compose ps shows both containers, and curl -I https://whoami.example.com (your name) gives HTTP 200 once the certificate is issued. The challenge needs port 80 open to the internet; for a home-only name see the DNS challenge in our Traefik guide.

Tip: On a rootless bridge network Podman's port forwarder hides the real client address: Traefik's log shows an internal one such as 10.89.1.7 (issue 29727). Podman 6 has an experimental fix: rootless_port_forwarder = "pasta" under [network] in ~/.config/containers/containers.conf, then podman stop --all and start again. It needs passt 20260507 or newer.

Without Traefik: Caddy#

Caddy gets Let's Encrypt certificates for a public name by itself. Save this as ~/docker_volumes/caddy/Caddyfile (dummy names, replace them). The upstream is a container name on the shared network.

File contenttext
whoami.example.com {
    reverse_proxy whoami:80
}

At home, with no public domain, add tls internal: Caddy signs the certificate itself.

File contenttext
whoami.home.arpa {
    tls internal
    reverse_proxy whoami:80
}

Run it on the same proxy network (Linux, with the port setting above):

Run in terminalbash
mkdir -p ~/docker_volumes/caddy/{data,config,logs,backups}
podman run -d --name caddy --restart unless-stopped --network proxy \
  -p 80:80 -p 443:443 \
  -v ~/docker_volumes/caddy/Caddyfile:/etc/caddy/Caddyfile:ro \
  -v ~/docker_volumes/caddy/data:/data \
  -v ~/docker_volumes/caddy/config:/config \
  docker.io/library/caddy:2.11.9

Stop Traefik first: only one program can own ports 80 and 443. For tls internal, copy Caddy's root certificate and trust it on your own devices as in our Caddy guide:

Run in terminalbash
podman cp caddy:/data/caddy/pki/authorities/local/root.crt ./caddy-root.crt

Check it worked. curl -I https://whoami.example.com prints a 200 line. At home use curl --cacert ./caddy-root.crt -I https://whoami.home.arpa.

Security and testing#

ControlHow
RootlessKeep it: no sudo podman for apps, no --privileged
API socketFull control as your user. label=disable only for the one container that needs it
PortsBind to 127.0.0.1 unless public. Without an IP a published port listens on all interfaces
SecretsIn .env with chmod 600, never in compose.yaml or Git
SELinuxKeep it on. :Z for one container's folder, :z for shared ones. Never relabel system folders or your home
ImagesPin tags, use full names, scan them with our Trivy guide
Auto-updateUse 6.2.0 or newer (or a build with the fix): older versions could restart the wrong unit from untrusted image labels

Quick tests:

Run in terminalbash
podman ps
podman logs --tail 50 podman-demo-web
podman inspect podman-demo-web --format '{{.State.Status}}'
systemctl --user status podman-demo-web.service

Migrating from Docker#

Podman does not take over Docker's containers or volumes. Move one noncritical service at a time, on other ports.

Docker habitIn Podman
docker commandpodman. An alias changes no API, volumes or Compose behaviour
Short image namesFull names: docker.io/library/nginx:1.30.8-alpine
Images you builtdocker save myapp:1.0 -o myapp.tar, then podman load -i myapp.tar
Volumes, databasesCopy the data (files or a dump), then check owners. An image archive is not a data backup
docker composepodman-compose, podman compose, or docker-compose on the Podman socket
/var/run/docker.sock mount$XDG_RUNTIME_DIR/podman/podman.sock plus label=disable
host.docker.internalhost.containers.internal
restart: unless-stoppedSurvives a reboot only with podman-restart.service enabled. Use Quadlet for real services

Our order (advice, not official): list images, ports, volumes and socket users; start one test service; restore its data; test a reboot and a logout; then move the rest.

Common mistakes#

MistakeWhy it happensDo this instead
Port 80 as a normal user: Error: pasta failed with exit code 1: Listen failed for HOST TCP port */80: Permission denied (official tip 48; older text and a failed authbind: #13426)The kernel blocks normal users below 1024A high port, or lower the sysctl on purpose (HTTPS section)
Short image name in a script or unit: Error: short-name resolution enforced but cannot prompt without a TTY (#11530)Podman asks which registry, and a script cannot answerdocker.io/library/nginx:...
cannot find UID/GID for user ...: open /etc/subuid: no such file or directory (#15611)No /etc/subuid entry for the userusermod --add-subuids ..., then podman system migrate. If newuidmap itself fails (#23596), use the root-owned uidmap package
ls: cannot open directory '...': Permission denied on a bind mount (#3415: "It is SELinux"); /bin/sh: ...script.sh: Permission denied with parallel containers (#8763)Wrong SELinux label; :Z is private, so each new container re-labels:Z for one container, :z for shared. Not chmod 777
curl: (56) Recv failure: Connection reset by peer (official troubleshooting, tip 47)The app listens on 127.0.0.1 inside the containerListen on 0.0.0.0, publish 127.0.0.1:8080:8080
A container cannot reach your own domain or host address (#28468)Pasta copies the host's address into the containerhost.containers.internal or --add-host name:host-gateway
One internal address for every request in Traefik's log (#29727)The rootless port forwarder rewrites the source on bridge networksExperimental rootless_port_forwarder = "pasta" (Tip, HTTPS section)
podman compose runs docker-compose and fails: Cannot connect to the Docker daemon at unix:///run/podman/podman.sock (podman-compose #1398)Docker's tool wins when both existSet PODMAN_COMPOSE_PROVIDER (Step 4)
Socket mounted with :Z: Cannot connect to the Docker daemon at unix:///var/run/docker.sock (podman-compose #1126)Relabelling a system socket breaks accesssecurity_opt: label=disable
Windows: Cannot connect to Podman, VM already running or starting (#24717)There: networkingMode=mirrored in .wslconfigpodman machine list; do not delete the machine first
AI assistants: systemctl --user enable --now web.container or enable web.serviceHabit from normal units[Install] in the file, then daemon-reload and start
AI assistants: a --providers.podman Traefik option, or slirp4netns and CNI tipsInvented or old: no podman provider in the Traefik 3.8.0 docs; Podman 6 removed bothDocker provider on the Podman socket; pasta
AI assistants: sudo podman compose up for port 80It is the separate rootful Podman: your rootless images are not thereStay rootless, lower the port limit

Tip: Run podman --version before you copy a tutorial: many older ones describe Podman 4 and slirp4netns.

Troubleshooting#

ProblemSolution
Quadlet service not found/usr/lib/systemd/system-generators/podman-system-generator --user --dryrun shows units and errors
Unit fails on first startThe pull outlasted systemd's limit: raise TimeoutStartSec or podman pull first
Services stop at logoutloginctl enable-linger "$USER"
Bind mount not writablepodman unshare ls -ldn <folder>: owner 65534 means an unmapped ID. Check SELinux and --userns=keep-id
Windows or Mac: no connectionpodman machine list, podman system connection list, then podman machine stop and start
Generalpodman ps -a, podman logs <name> --tail 100, podman inspect <name>

Exact error texts#

  • Failed to enable unit: Unit /run/user/1000/systemd/generator/my.service is transient or generated: systemctl enable on a Quadlet unit (official troubleshooting, tip 50).

Known bugs (open, December 2026)#

  • #30318: upgrading Podman on Windows while a WSL machine runs stops the API pipes; the machine says "running" and Podman Desktop shows empty lists. Run podman machine stop and start; never delete the machine.
  • #30292: since 6.2.0 the WSL machine no longer loads /etc/environment (proxy settings).

We found nothing that blocks a normal install.

Updates and backups#

Update Podman (read the release notes first). Linux: sudo apt-get install --only-upgrade podman or sudo dnf upgrade podman. Windows: install the new MSI, then podman machine stop and start. Mac: install the new package and restart the machine.

Update an app. Change its pinned tag, then podman-compose pull and podman-compose up -d (Quadlet: edit Image=, daemon-reload, restart the service).

Back up compose.yaml, .env, data and your Quadlet folder. Images can be pulled again.

Linux and Mac#

Save as ~/docker_volumes/podman-demo/backup.sh:

File contentbash
#!/usr/bin/env bash
set -euo pipefail
base="$HOME/docker_volumes/podman-demo"
out="$base/backups/podman-demo-$(date +%F).tar.gz"
tar -czf "$out" -C "$base" compose.yaml data -C "$HOME/.config/containers" systemd
chmod 600 "$out"

Run chmod 700 on it and add this line with crontab -e (Mac: /Users/<your-user>/..., and drop the last tar part: no Quadlet there):

File contenttext
0 3 * * * /home/<your-user>/docker_volumes/podman-demo/backup.sh

Windows (PowerShell)#

Codepowershell
$base = "$HOME\docker_volumes\podman-demo"
tar.exe -czf "$base\backups\podman-demo-$(Get-Date -Format yyyy-MM-dd).tar.gz" -C $base compose.yaml data

Run it daily at 03:00 in Task Scheduler with powershell.exe -NoProfile -File <full-path-to-the-script>.

Restore test#

Stop the original, unpack into a spare folder and start it:

Run in terminalbash
mkdir -p ~/restore-test && tar -xzf <your-archive>.tar.gz -C ~/restore-test
cd ~/restore-test && podman-compose up -d && curl http://127.0.0.1:8080

The dummy page should appear. For other apps' volumes see our docker-volume-backup guide.

Performance and resources#

The docs give no minimum RAM or CPU and we measured none. With no manager daemon, an idle host runs only the containers. Measure with podman stats and podman system df. On Windows and Mac size the machine with podman machine init --cpus <n> --memory <MiB> --disk-size <GiB> (later podman machine set).

FAQ#

Is Podman a drop-in replacement for Docker? For single containers, mostly. For stacks, test each one: the Docker API is a compatibility layer.

Do I need root? No. An administrator only prepares user IDs, helpers and, for low ports, a sysctl.

Can Docker and Podman share a machine? Yes, with separate images, containers and sockets. Watch the Compose provider order.

Why did the repository move? The project joined the CNCF as Podman Container Tools with Podman 6.0 (Podman blog, 10 August 2026).

Which version should I run? The latest has upstream support; distributions often ship older builds. The 5.8 branch gets critical fixes until 7 June 2027.

Sources#

Checked against the official docs on 2026-12-03. Nothing was run on a real machine by DIY Lab Hub; the commands come from the docs, the release notes and the issues above.

Try one of these