Running Uptime Kuma in podman

By gill, 3 January, 2023

Install tools; open firewall:

$ sudo dnf -y install podman policycoreutils-devel

$ sudo firewall-cmd --add-port=3001/tcp

$ podman volume create uptime-kuma

My podman build script:

#!/bin/bash
/usr/bin/podman run \
 --replace \
 --restart=always \
 --detach \
 --publish 3001:3001/tcp \
 --volume uptime-kuma:/app/data:z \
 --name uptime-kuma \
 docker.io/louislam/uptime-kuma:1

Update Uptime Kuma

  1. podman pull docker.io/louislam/uptime-kuma:1
  2. podman stop uptime-kuma  # Might have to use systemctl --user stop container-uptime-kuma
  3. podman rm uptime-kuma
  4. Run build commands above
Private
Yes