Richard Bucker

Choosing the right host for your docker containers

Posted at — Dec 20, 2014

First of all there are a lot of choices, however, they come in two varieties. The first is and probably the most common is the general purpose Linux distribution. So long as you have a modern kernel with the requisite kernel modules Docker is likely to work. (FreeBSD’s compatibility mode is an API layer and not a kernel virtualization). The second type of host is the special purpose or dedicated host.To put it plainly the general purpose Linux distro is best utilized as development environment so long as all of the other components are present depending on your production environment. ie if you have a dependency on etcd or geard etc…On the other hand the dedicated distros work equally as well as a production environment and development environment (without the desktop). Here is a list of the hosts.CoreOS - supports both Docker and RocketProjectAtomic (Fedora, CentOS, RedHat flavors)Ubuntu ‘Snappy Core’ - I’m not sure of that’s a project name or the brand.Boot2docker - more of a development environment for Windows and OSX usersThe Docker and CoreOS teams have been trading quips lately. In the end I have no idea exactly what’s going to happen. Both teams have great ideas and their execution is enviable. Where I struggle is if Rocket succeeds and grabs a big enough market share that currently they are alone as a host provider. If Docker continues it’s momentum will they ever reach a level of stability that it becomes low risk enough without having to fork an API layer? And will they ever encroach into the host OS market? (CoreOS is awesome in that space).At this point it might come down to the orchestration and scheduling systems like:DeisKubernetes¬†- nice new websiteDokku¬†and others. (maybe even home grown). What interesting here is that there are several VPS offerings that are just¬†containers. This in itself is curious. Just look at joynet.