For both performance and price, it really interesting to run Docker containers on your own dedicated servers. So here are the instructions to setup a Docker enabled server on SoYouStart. Let’s begin!
1. Install your server with the “ubuntu-14.04” image provided. Select “custom install”.
Ubuntu 14.04 has Long Term Support and is the only system officially supported by tutum, which makes it the best option here.
2. Remove the “/home” partition, make sure “/” uses the whole space. This server won’t have any users and will just be a Docker host, right?
3. Select “use distribution kernel”
You need a distribution kernel to allow AUFS support, a technology recommended for Docker to operate. Without AUFS, Docker can operate in a less powerful mode, called “devicemapper”, but tutum will fail to use the node in this mode.
4. Install. Take a break.
5. Login with ssh into your newly installed server as root. (SyS emailed the instructions)
aptitude upgrade (won’t hurt)
Note, at this point I had an issue with OVH’s mirrors for one package:
W: Failed to fetch http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/dists/trusty-updates/main/i18n/Translation-en Hash Sum mismatch
I solved by moving to canonical’s apt repository for “trusty-updates main”. In
## Major bug fix updates produced after the final release of the distribution.
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted
Then remove /var/lib/apt/lists (
rm -fr /var/lib/apt/lists)
aptitude update again.
7. Register your tutum node, from tutum.co. Follow instructions in “nodes ⇒ bring your own nodes”.
Enjoy your tutum enabled, Docker powered node!