unifios-utilities/podman-install
David 44397ab741
Use udmpro podman for base UDM instead of udmse (#479)
See https://github.com/unifi-utilities/unifios-utilities/issues/416#issuecomment-1413489715

udmse podman install didn't work properly on base UDM. udmpro variant works without issues, so we should use that one when normal udm is detected
2023-02-18 19:10:15 -08:00
..
conf automatically install podman from https://unifi.boostchicken.io (#452) 2023-01-30 15:45:44 -08:00
cronjobs automatically install podman from https://unifi.boostchicken.io (#452) 2023-01-30 15:45:44 -08:00
on_boot.d Use udmpro podman for base UDM instead of udmse (#479) 2023-02-18 19:10:15 -08:00
README.md automatically install podman from https://unifi.boostchicken.io (#452) 2023-01-30 15:45:44 -08:00

Podman Install

Features

Requirements

  1. You have successfully set up the on boot script described here
  2. [Optional] 25-add-cron-jobs.sh

Installation

  1. Copy on_boot.d/00-podman.sh to /data/on_boot.d
  2. Copy the contents of conf to /data/podman/conf

Customization

Optional: automatic updates

  • Copy cronjobs/update-podman to /data/cronjobs
  • Re-run /data/on_boot.d/25-add-cron-jobs.sh

The script can be run manually. Normally, it will refuse to overwrite an existing podman install. If you've installed podman manually, or if you are using UDM 1.x firmware (which includes podman), then the script will do nothing.

If you run /data/on_boot.d/00-podman.sh --force, then podman will be reinstalled, even if it aready exists.

Normally, the script will reuse previously-downloaded zip files. This should cause the previously-installed version to be reinstalled automatically after a firmware upgrade.

If you run /data/on_boot.d/00-podman.sh --download-only, then the latest zip file will be downloaded from https://unifi.boostchicken.io/, but not installed.

You can combine the two args to forcefully upgrade to the latest version:

/data/on_boot.d/00-podman.sh --download-only && /data/on_boot.d/00-podman.sh --force

Why not podman-update?

https://github.com/unifi-utilities/unifios-utilities/issues/288#issuecomment-992404375