A home for my quadlets
|
|
||
|---|---|---|
| circe | ||
| janus | ||
| utilities | ||
| .gitignore | ||
| .install-containers.bash | ||
| containers.conf | ||
| README.md | ||
| template.container | ||
Podman Quadlets
Podman quadlets merge systemd unit files with container definitions. This repository contains quadlets I use in my personal setup.
The repository is structured as follows:
circe: Quadlets in use within Circe, my personal home server.tools: Quadlets for various tools and utilities. These are not auto-installed but can be manually deployed as needed.updater: A small Golang program that checks for updates to the quadlets and manages searching for new versions and notifying the user about them.containers.conf: Podman system configuration for easy replication. Below you can find some instructions to install and run the requirements.
Installation
Because of different distributions and needs I will not be writing a script to do this, but here's a small list of instructions:
- Step 1: Make sure that Podman is installed.
- Step 2: Clone this repository into the same partition as the target directory,
whether that is
/etc/containersfor system quadlets or/home/${USER}/.local/share/containers/for rootless quadlets. This is because when Quadlets are loaded there is no guarantee that any other system partition is loaded at that time and symlinks can fail. - Step 3: Install other prerequisites listed below if any on the host
- Step 4: Symbolic link containers.conf to
/etc/containers/ - Step 5: Create a symbolic link of the quadlet to the target directory
Prerequisites
For Podman's custom configuration, you will need to do the following changes
Install updated networking stack:
By default, Podman uses CNI network backend, you will have to make sure netavark is installed