summaryrefslogtreecommitdiff
path: root/system/docker/README
diff options
context:
space:
mode:
authorVincent Batts <vbatts@gmail.com>2014-07-15 23:26:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-07-16 18:26:52 +0700
commitf20658c5b7393fe9a38268cb70c95f4a70266fe4 (patch)
tree2d1fda743f0f56192c4fd4a81e2e4ffe2c24f869 /system/docker/README
parentd356782e898f1d4f74dce5f78fe609e5b725d72a (diff)
downloadslackbuilds-f20658c5b7393fe9a38268cb70c95f4a70266fe4.tar.gz
system/docker: Updated for version 1.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/docker/README')
-rw-r--r--system/docker/README19
1 files changed, 18 insertions, 1 deletions
diff --git a/system/docker/README b/system/docker/README
index a286c28507..fba86ed3b4 100644
--- a/system/docker/README
+++ b/system/docker/README
@@ -8,7 +8,7 @@ To use docker as a limited user, add your user to the 'docker' group:
# groupadd -r -g 281 docker
# usermod -a -G docker <your_username>
-This will require logging out and back in.
+This will require logging out and back in.
To have the docker daemon start and stop with your host,
add to /etc/rc.d/rc.local:
@@ -38,4 +38,21 @@ To accomplish this, add the following to your /etc/fstab:
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.
+
NOTE: google-go-lang is only needed at compile time - not needed for runtime.