summaryrefslogtreecommitdiff
path: root/system/docker/README
diff options
context:
space:
mode:
authorVincent Batts <vbatts@gmail.com>2014-05-08 07:02:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-12 07:35:53 +0700
commitfe1e315ba624439c9fe37b387f2a7f86b7584c12 (patch)
tree4721be7466625195784d9af0fa7f3b6f9c49db2b /system/docker/README
parent8c3215a4d5db684b5d758ebff45852e232df4278 (diff)
downloadslackbuilds-fe1e315ba624439c9fe37b387f2a7f86b7584c12.tar.gz
system/docker: Updated for version 0.11.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/docker/README')
-rw-r--r--system/docker/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/docker/README b/system/docker/README
index ecace98aee..a286c28507 100644
--- a/system/docker/README
+++ b/system/docker/README
@@ -23,4 +23,19 @@ 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
+
+
NOTE: google-go-lang is only needed at compile time - not needed for runtime.