From 71e2c44ef6bb7dbdc4dbd385f87b490e38c023d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Audrius=20Ka=C5=BEukauskas?= Date: Sun, 11 Jun 2017 16:29:20 +0300 Subject: system/docker: Misc README and slack-desc changes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Audrius Kažukauskas --- system/docker/README | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'system/docker/README') diff --git a/system/docker/README b/system/docker/README index 8fd5996888..9e666cb61e 100644 --- a/system/docker/README +++ b/system/docker/README @@ -9,7 +9,8 @@ To use docker as a limited user, add your user to the 'docker' group: # groupadd -r -g 281 docker # usermod -a -G docker -This will require logging out and back in and also restart docker daemon. +This will require logging out and back in and also restarting docker +daemon. To have the docker daemon start and stop with your host, add to /etc/rc.d/rc.local: @@ -24,11 +25,11 @@ and to /etc/rc.d/rc.local_shutdown (creating it if needed): /etc/rc.d/rc.docker stop fi -If you are interested in enabling cgroup memory resource controll over +If you are interested in enabling cgroup memory resource control 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. -Docker doesn't support x86, only x86_64 +Docker doesn't support x86, only x86_64. -- cgit v1.2.3