@@ -32,18 +32,54 @@ runtime:
3232Docker in daemon mode has specific kernel requirements. For details,
3333check your distribution in [ * Installation* ] ( ../#installation-list ) .
3434
35- In general, a 3.8 Linux kernel is the minimum requirement for Docker, as
36- some of the prior versions have known issues that are triggered by Docker.
37- Linux kernel versions older than 3.8 are known to cause kernel panics and
38- to break Docker.
35+ A 3.10 Linux kernel is the minimum requirement for Docker.
36+ Kernels older than 3.10 lack some of the features required to run Docker
37+ containers. These older versions are known to have bugs which cause data loss
38+ and frequently panic under certain conditions.
39+ We recommend kernel 3.10 or newer.
3940
4041The latest minor version (3.x.y) of the 3.10 (or a newer maintained version)
4142Linux kernel is recommended. Keeping the kernel up to date with the latest
4243minor version will ensure critical kernel bugs get fixed.
4344
45+ > ** Warning** :
46+ > Installing custom kernels and kernel packages is likely to not be
47+ > supported by your Linux distribution's vendor. Please make sure to
48+ > ask your vendor about Docker support first before attempting to
49+ > install custom kernels on your distribution.
50+
51+ > ** Warning** :
52+ > Installing a newer kernel might not be enough for some distributions
53+ > which provide packages which are too old or incompatible with
54+ > newer kernels.
55+
4456Note that Docker also has a client mode, which can run on virtually any
4557Linux kernel (it even builds on OS X!).
4658
59+ ## Check if AppArmor and SELinux are enabled
60+
61+ Some Linux distributions enable AppArmor or SELinux by default and
62+ they run a kernel which doesn't meet the minimum requirements (3.10
63+ or newer). Updating the kernel to 3.10 or newer on such a system
64+ might not be enough to start Docker and run containers.
65+ Incompatibilities between the version of AppArmor/SELinux user
66+ space utilities provided by the system and the kernel could prevent
67+ Docker from running, from starting containers or make containers
68+ exhibit unexpected behaviour.
69+
70+ > ** Warning** :
71+ > If any of the two security mechanisms is enabled, it should not be
72+ > disabled to make Docker or its containers run. This will reduce
73+ > security in that environment, lose support from the distribution's
74+ > vendor for the system and might break regulations, and security
75+ > policies in heavily regulated environments.
76+
77+ > ** Warning** :
78+ > Please use AppArmor or SELinux if your Linux distribution supports
79+ > either of the two. This helps improve security and blocks certain
80+ > types of exploits. Your distribution's documentation should provide
81+ > detailed steps on how to enable the recommended security mechanism.
82+
4783## Get the docker binary:
4884
4985 $ wget https://get.docker.com/builds/Linux/x86_64/docker-latest -O docker
0 commit comments