Podman pods & containers for devel and testing.
- Copy
.pod,.container,.buildand.volumefiles to/etc/containers/systemd/
- All of the volumes here are bind-mounted, hence you need to create the directory first
- Example: In postgres.volume,
Device=/var/opt/containers/postgresmeans/var/opt/containers/postgresdir should be created first
- Reload systemd
sudo systemctl daemon-reload - Systemd will generate services from the installed files
- Run container using
systemctl start, e.g. forpostgres.container, runsystemctl start postgres.service
- Supports podman auto-update
- Easier to maintain as quadlet files (podman-compose sucks)