This time I decided to install Mastodon on a FreeBSD jail, managed by BastilleBSD. I'll describe a simple, one jail installation, with the related rc files.
docker-compose allows you to define a set of containers in a single file. They will be in their “namespace” and can be linked and tied together.
We can use docker both for static and dynamic websites. We have a wide choice of images - and we can even create our own.
What I’ll be describing now is another kind of setup, based on two containers, and it will help you to understand some of the features of Docker.