X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c0eba3250e02beec9eae3c9c6a8df1b7a3188fb2..7ad430f157028a8f8ab52c6f17c4864ada271667:/docker/README.md diff --git a/docker/README.md b/docker/README.md index 17b0d23d3b..5ae3852fb5 100644 --- a/docker/README.md +++ b/docker/README.md @@ -16,8 +16,39 @@ Prerequisites Docker is a Linux container management system based on LXC. It is a very young system but is being developed rapidly. - [Installation packages](http://www.docker.io/gettingstarted/#h_installation) + [Installation packages](http://www.docker.io/gettingstarted/) are available for several platforms. + + If a prebuilt docker package is not available for your platform, the + short instructions for installing it are: + + 1. Create a `docker` group and add yourself to it. + +
+     $ sudo addgroup docker
+     $ sudo adduser `whoami` docker
+     
+ + Log out and back in. + + 2. Add a `cgroup` filesystem and mount it: + +
+     $ mkdir -p /cgroup
+     $ grep cgroup /etc/fstab
+     none   /cgroup    cgroup    defaults    0    0
+     $ sudo mount /cgroup
+	 
+ + 3. Enable IPv4 forwarding: + +
+     $ grep ipv4.ip_forward /etc/sysctl.conf
+     net.ipv4.ip_forward=1
+     $ sudo sysctl net.ipv4.ip_forward=1
+     
+ + 4. [Download and run a docker binary from docker.io.](http://docs.docker.io/en/latest/installation/binaries/) * Ruby (any version) @@ -31,7 +62,7 @@ Building 2. Run `make` to build the following Docker images: * arvados/api - the Arvados API server - * arvados/docserver - Arvados documentation + * arvados/doc - Arvados documentation * arvados/warehouse - Keep, the Arvados content-addressable filesystem * arvados/workbench - the Arvados console * arvados/sso - the Arvados single-signon authentication server @@ -39,7 +70,7 @@ Building You may also build Docker images for individual Arvados services: $ make api-image - $ make docserver-image + $ make doc-image $ make warehouse-image $ make workbench-image $ make sso-image