unifios-utilities/podman-install
John Dorman df2a0f9144
moved to bash (#499)
thanks @kb9gxk
2023-02-22 21:44:27 -08:00
..
conf automatically install podman from https://unifi.boostchicken.io (#452) 2023-01-30 15:45:44 -08:00
cronjobs Auto set correct data path (#491) 2023-02-22 08:49:54 -08:00
on_boot.d moved to bash (#499) 2023-02-22 21:44:27 -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