I just posted my notes on bringing up a Mastodon node using podman and docker-compose to orchestrate podman. They are based on my previous documentation for using docker and docker-compose, but a few things are different.
I also updated the original to match.
https://musings.danlj.org/2022/11/12/mastodon-on-centos-9-derivatives-with-podman.html
Please respond with comments or questions. I don't know it all, but I'll help if I can!
I deployed social.aviating.com with podman, learning from deploying social.makerforums.info on docker. There's a distinct possibility that I'll take a 30 minute or so downtime at some point (with notice!) to migrate social.makerforums.info to podman.
@gbraad kindly suggested using podman play kube
with the k8s yaml file, and if I were setting this up again from scratch I would definitely try that first, before using either podman-compose
or docker-compose
. It comes with the system, and it would prepare well if I later wanted to move to a highly-available deployment across multiple systems actually using Kubernetes.
@mcdanlj Can you give me some insight here: podman is a Linux docker-type manager?
@kg6hxm podman is an alternative to docker with a different security model. Instead of a single privileged daemon, it has individual utilities. I like its security model better than docker's.
It comes as the out of the box default on Red Hat's various Linux distributions, and they were the primary initial authors.
@mcdanlj Excellent. I'm going to set up my server box and have been trying to learn different VM-type systems that are available. I've already learned a lot from this instance and the infosec one that jerry [at] infosec.exchange is running and documenting.
@kg6hxm my docs are both for single-machine deployments. I would be using Kubernetes ("k8s") to set up a multi-system deployment. There's plenty of opportunity here to learn!
@mcdanlj Thanks for taking the time to write this up. Tremendously helpful