I have always found systemd to be a reliable manager for my docker containers, here is a few examples that should be enough to get the general idea.
I thought a symbiotic example would be best as that's about as complicated as it gets.
Some basic systemd usage skills like how to use systemctl
and deamon-reload
are expeted.
(Remember NOT! to deamonize the containers! -d --deamonize
in the docker command.)