X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f9ffb421cddf3a1bfcb6d79b31958b4d54ed5906..5d5af52a33ec8b10a9af6afd50141db3923441ec:/doc/_includes/_install_compute_docker.liquid?ds=sidebyside diff --git a/doc/_includes/_install_compute_docker.liquid b/doc/_includes/_install_compute_docker.liquid index 915db02465..18347785cd 100644 --- a/doc/_includes/_install_compute_docker.liquid +++ b/doc/_includes/_install_compute_docker.liquid @@ -1,10 +1,16 @@ +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} + h2. Install Docker Compute nodes must have Docker installed to run containers. This requires a relatively recent version of Linux (at least upstream version 3.10, or a distribution version with the appropriate patches backported). Follow the "Docker Engine installation documentation":https://docs.docker.com/ for your distribution. For Debian-based systems, the Arvados package repository includes a backported @docker.io@ package with a known-good version you can install. -h2. Configure the Docker daemon +h2(#configure_docker_daemon). Configure the Docker daemon Crunch runs Docker containers with relatively little configuration. You may need to start the Docker daemon with specific options to make sure these jobs run smoothly in your environment. This section highlights options that are useful to most installations. Refer to the "Docker daemon reference":https://docs.docker.com/reference/commandline/daemon/ for complete information about all available options. @@ -31,14 +37,14 @@ To enable cgroups accounting, you must boot Linux with the command line paramete On Debian-based systems, open the file @/etc/default/grub@ in an editor. Find where the string @GRUB_CMDLINE_LINUX@ is set. Add @cgroup_enable=memory swapaccount=1@ to that string. Save the file and exit the editor. Then run: -
$ sudo update-grub
+
~$ sudo update-grub
 
On Red Hat-based systems, run: -
$ sudo grubby --update-kernel=ALL --args='cgroup_enable=memory swapaccount=1'
+
~$ sudo grubby --update-kernel=ALL --args='cgroup_enable=memory swapaccount=1'