X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d0daa6d6968ecf1a3ec7e64f7747e842f20febad..11353b25e92155e86a2f1a5d7f9d7462fb8aa8a0:/docker/README.md diff --git a/docker/README.md b/docker/README.md index ce0bf2a209..9c03e1b825 100644 --- a/docker/README.md +++ b/docker/README.md @@ -6,16 +6,13 @@ containers, so that they can be run easily in different environments (a dedicated server, a developer's laptop, a virtual machine, etc). -This is a work in progress; instructions will almost certainly be -incomplete and possibly out of date. - Prerequisites ------------- * Docker - Docker is a Linux container management system based on LXC. It is a - very young system but is being developed rapidly. + Docker is a Linux container management system. It is a very young system but + is being developed rapidly. [Installation packages](http://www.docker.io/gettingstarted/) are available for several platforms. @@ -39,41 +36,31 @@ Prerequisites 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/) + 3. [Download and run a docker binary from docker.io.](http://docs.docker.io/en/latest/installation/binaries/) -* Ruby (any version) +* Ruby (version 1.9.3 or greater) * sudo privileges to run `debootstrap` Building -------- -1. Copy `config.yml.example` to `config.yml` and edit it with settings - for your installation. -2. Run `make` to build the following Docker images: +Type `./build.sh` to configure and build the following Docker images: * arvados/api - the Arvados API server + * arvados/compute - Arvados compute node image * arvados/doc - Arvados documentation - * arvados/warehouse - Keep, the Arvados content-addressable filesystem - * arvados/workbench - the Arvados console + * arvados/keep - Keep, the Arvados content-addressable filesystem + * arvados/keepproxy - Keep proxy + * arvados/shell - Arvados shell node image * arvados/sso - the Arvados single-signon authentication server + * arvados/workbench - the Arvados console - You may also build Docker images for individual Arvados services: - - $ make api-image - $ make doc-image - $ make warehouse-image - $ make workbench-image - $ make sso-image +`build.sh` will generate reasonable defaults for all configuration +settings. If you want more control over the way Arvados is +configured, first copy `config.yml.example` to `config.yml` and edit +it with appropriate configuration settings, and then run `./build.sh`. Running -------