summaryrefslogtreecommitdiffstats
path: root/system/docker/README
diff options
context:
space:
mode:
Diffstat (limited to 'system/docker/README')
-rw-r--r--system/docker/README26
1 files changed, 26 insertions, 0 deletions
diff --git a/system/docker/README b/system/docker/README
new file mode 100644
index 0000000000..34a2d621ba
--- /dev/null
+++ b/system/docker/README
@@ -0,0 +1,26 @@
+Docker is an open-source project to easily create lightweight, portable,
+self-sufficient containers from any application. The same container that
+a developer builds and tests on a laptop can run at scale, in production,
+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 278 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
+
+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
+
+NOTE: google-go-lang is only needed at compile time - not needed for runtime.