3 navsection: installguide
4 title: Install pre-built Docker images
7 Copyright (C) The Arvados Authors. All rights reserved.
9 SPDX-License-Identifier: CC-BY-SA-3.0
12 This method is intended for evaluation and development on a local workstation. It is not suitable for production use in a cluster deployment.
14 {% include 'notebox_begin' %}
15 * The automatic network configuration allows you to log in to Workbench from a browser _running on the same host as Docker_. Connecting from other hosts requires additional configuration (not covered here).
16 * Your data will be stored inside the Docker containers. You may stop and restart the containers without loss, but if you delete the container, your data will be gone.
17 * Updating the Arvados software inside the Docker containers is not supported. You may download updated Docker images, but migrating data to updated containers is not yet supported.
18 {% include 'notebox_end' %}
22 # A GNU/Linux x64 (virtual) machine
23 # A working Docker installation (see "Installing Docker":https://docs.docker.com/installation/)
26 h2. Verify prerequisites
28 Make sure that @curl@ and @docker@ are installed on your system, and that you are in the docker group (see "Installing Docker":https://docs.docker.com/installation/).
30 <notextile><pre><code>~$ <span class="userinput">which curl</span>
32 ~$ <span class="userinput">docker.io --version</span>
33 Docker version 1.2.0-dev, build dc243c8
34 ~$ <span class="userinput">groups</span>
35 yourusername sudo fuse docker
36 </code></pre></notextile>
38 h2. Download and install Arvados.
41 <pre><code>~$ <span class="userinput">\curl -sSL get.arvados.org | bash</span>
42 </code></pre></notextile>
44 This command will download the latest build of the Arvados docker images. It also gets the @arvdock@ command and saves it in the current working directory. It then uses @arvdock@ to spin up Arvados. Note that the Arvados Docker images are large and may take a while to download.
46 If you prefer, you can also download and inspect the installation script before running it. @get.arvados.org@ redirects to "https://raw.githubusercontent.com/curoverse/arvados-dev/master/install/easy-docker-install.sh":https://raw.githubusercontent.com/curoverse/arvados-dev/master/install/easy-docker-install.sh, which is the installation script.
48 The @arvdock@ command usage is listed here:
51 usage: ./arvdock (start|stop|restart|reset|test) [options]
53 start run new or restart stopped arvados containers
54 stop stop arvados containers
55 restart stop and then start arvados containers
56 reset stop and delete containers WARNING: this will delete the data inside Arvados!
59 ./arvdock start/stop/restart options:
60 -d[port], --doc[=port] Documentation server (default port 9898)
61 -w[port], --workbench[=port] Workbench server (default port 9899)
62 -s[port], --sso[=port] SSO server (default port 9901)
63 -a[port], --api[=port] API server (default port 9900)
64 -c, --compute Compute nodes (starts 2)
66 -n, --nameserver Nameserver
67 -k, --keep Keep servers
68 -p, --keepproxy Keepproxy server
69 -h, --help Display this help and exit
71 If no options are given, the action is applied to all servers.
73 ./arvdock test [testname] [testname] ...
74 By default, all tests are run.