summaryrefslogtreecommitdiff
path: root/system/docker/README
diff options
context:
space:
mode:
Diffstat (limited to 'system/docker/README')
-rw-r--r--system/docker/README16
1 files changed, 8 insertions, 8 deletions
diff --git a/system/docker/README b/system/docker/README
index d9c5e781b1..a2b961a519 100644
--- a/system/docker/README
+++ b/system/docker/README
@@ -5,23 +5,23 @@ on VMs, bare metal, OpenStack clusters, public clouds and more.
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>
+ # groupadd -r -g 281 docker
+ # usermod -a -G docker <your_username>
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:
- if [ -x /etc/rc.d/rc.docker ]; then
- /etc/rc.d/rc.docker start
- fi
+ if [ -x /etc/rc.d/rc.docker ]; then
+ /etc/rc.d/rc.docker start
+ fi
and to /etc/rc.d/rc.local_shutdown (creating it if needed):
- if [ -x /etc/rc.d/rc.docker ]; then
- /etc/rc.d/rc.docker stop
- fi
+ if [ -x /etc/rc.d/rc.docker ]; then
+ /etc/rc.d/rc.docker stop
+ fi
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