1 Deploying Arvados in Docker Containers
2 ======================================
4 This file explains how to build and deploy Arvados servers in Docker
5 containers, so that they can be run easily in different environments
6 (a dedicated server, a developer's laptop, a virtual machine,
9 This is a work in progress; instructions will almost certainly be
10 incomplete and possibly out of date.
17 Docker is a Linux container management system based on LXC. It is a
18 very young system but is being developed rapidly. See
19 http://www.docker.io/gettingstarted/#h_installation for an
20 installation package for your platform.
24 * sudo privileges to run `debootstrap'
29 1. Copy `config.yml.example' to `config.yml' and edit it with settings
30 for your installation.
32 2. Run `make' to build the following Docker images:
34 arvados/api - the Arvados API server
35 arvados/docserver - Arvados documentation
36 arvados/warehouse - Keep, the Arvados content-addressable filesystem
37 arvados/workbench - the Arvados console
39 You may also build Docker images for individual Arvados services:
49 1. Make sure the ARVADOS_DNS_SERVER has been provisioned with the
50 following DNS entries, resolving to the appropriate IP addresses
51 where each service will be deployed.
55 compute0.$API_HOSTNAME
56 controller.$API_HOSTNAME
57 workbench.$API_HOSTNAME
60 docker run -p 80:80 -p 443:443 arvados/api
64 mount -t tmpfs -o size=512M tmpfs /tmp/keepfs
65 docker run -p 25107:25107 -v /tmp/keepfs:/dev/keep-0 arvados/warehouse