summaryrefslogtreecommitdiff
path: root/system/docker/README
diff options
context:
space:
mode:
Diffstat (limited to 'system/docker/README')
-rw-r--r--system/docker/README28
1 files changed, 0 insertions, 28 deletions
diff --git a/system/docker/README b/system/docker/README
index fba86ed3b4..7afec75678 100644
--- a/system/docker/README
+++ b/system/docker/README
@@ -23,34 +23,6 @@ and to /etc/rc.d/rc.local_shutdown (creating it if needed):
/etc/rc.d/rc.docker stop
fi
-For cgroups, docker does not support mounting cgroups on the "all" single hierarchy controller,
-but rather the individual controllers.
-
-To accomplish this, add the following to your /etc/fstab:
-
- cgroup /cgroup/cpuset cgroup rw,relatime,cpuset 0 0
- cgroup /cgroup/cpu cgroup rw,relatime,cpu 0 0
- cgroup /cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
- cgroup /cgroup/memory cgroup rw,relatime,memory 0 0
- cgroup /cgroup/devices cgroup rw,relatime,devices 0 0
- cgroup /cgroup/freezer cgroup rw,relatime,freezer 0 0
- cgroup /cgroup/net_cls cgroup rw,relatime,net_cls 0 0
- cgroup /cgroup/blkio cgroup rw,relatime,blkio 0 0
-
-
-And in addition, add to /etc/cgconfig.conf the following:
-
- mount {
- cpuset = /cgroup/cpuset;
- cpu = /cgroup/cpu;
- cpuacct = /cgroup/cpuacct;
- memory = /cgroup/memory;
- devices = /cgroup/devices;
- freezer = /cgroup/freezer;
- net_cls = /cgroup/net_cls;
- blkio = /cgroup/blkio;
- }
-
If you are interested in enabling cgroup memory resource controll over swap as
well, then append "swapaccount=1" to your kernel's parameters. This is often in
/etc/lilo.conf, on the "append" variable.