Evaluate Podman as an alternative to Docker and possibly Nomad.
I've been looking at Podman and considering making it my default tool for building container images and running containers.
If that goes well, I'm also interested in using possibly using Podman instead of Nomad to manage jobs on my droplets.
Pros
- Podman is rootless, appears simpler than Docker, and has interesting integration with systemd.
- I think Nomad might be more than I need, especially if I take full advantage of quadlets.
Cons
- Nomad has more features, including service discovery.
Notes
I used this to build an IO image with Podman:
podman manifest create io
podman build --platform linux/amd64,linux/arm64 --manifest io .
Multiplatform builds required qemu:
sudo apt-get install qemu-user-binfmt
IO normally should be run with host networking. This runs IO configured to use the same directories as a local binary.
$ podman run --volume /home/tim/.local/share/io:/io --network host io
To allow IO to bind to low ports, I followed this discussion and made this change:
sudo sysctl -w net.ipv4.ip_unprivileged_port_start=80