I have a server running debian 7 which I’m looking to upgrade the hardware. I’d like to start fresh with a new OS install and run everything (or most things) from containers.
What is the recommended setup for this? I get the idea I should install a base OS like Ubuntu LTS and then use Ubuntu Core for all my containers. (I’m assuming this is preferred to running, say, a CentOS based container on an Ubuntu host OS)
I’m running Nginx x 2 (standard repo and custom compiled for rtmp streaming), mysql and mail server (dovecot). Can I put all of these in a container? Ideally nothing would get installed/configured outside of a container for maximum portability. (Is there anything I shouldn’t containerize?)
I’ve just started learning docker, so if I’ve missed some key concepts, please point them out and I’ll go read more.