The other day, someone posted a little guide here for hosting a ATM8 server on a headless Linux machine. /u/AlexHailstone noted that Docker could work for this as well and would be nice, and I so happen to have ran my Minecraft servers in Docker containers for years now. So here is a little guide for you guys. This is not a Docker starter guide, you'll need to google around a bit for that if you're not familiar with Docker, but it shouldn't be too difficult.
(Just to cover my ass, I'm not responsible for any loss of (save)data or other risks you may open yourself up to by reading and using this little guide. Please make sure you understand what you're doing by running this. There shouldn't be any problems but if there are, I can't be held responsible!)
Let's get started!