Podman pods & containers for devel and testing.
- Copy
.pod
,.container
,.build
and.volume
files 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/postgres
means/var/opt/containers/postgres
dir 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)