Use a host kernel with Docker support

The Linux kernel of the Docker host must be compiled to support all features that are required by the Docker engine.

Kernel builders: This information is intended for those who want to build their own kernel. Be aware that both compiling your own kernel or recompiling an existing distribution usually means that you have to maintain your kernel yourself.
Among other requirements, the Linux instance of a Docker host needs the following features:
  • namespaces and cgroups for container isolation
  • unification file systems for image and container implementation

The required kernel configuration options have complex dependencies. Go to GitHub at github.com/moby/moby/blob/master/contrib/check-config.sh for a script that checks a Linux instance for the Docker requirements.