Unfortunately it is not a straight forward process for getting Docker installed on Linode using Ubuntu 16.04. The Image that Linode provides for Ubuntu 16.04 has a custom Linux Kernel installed in it. Docker requires AUFS, which is part of the linux-image-extra package. This package is tied to the kernel version, and since Linode kernel is custom, it is not clear how to load this package. In order to make this work, you have to revert your install back to the distribution kernel.
Here are the steps to get it working:
- Deploy a Ubuntu 16.04 image on Linode
Follow these steps:
Then install the Docker-Engine:
Finally, lock-down and set things up: