Skip to content
Snippets Groups Projects
Commit c55f8191 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[doc] Add more notes to linux CI installation

parent 94be3a77
Branches
Tags
No related merge requests found
Pipeline #27498 passed
......@@ -17,12 +17,17 @@ Docker and Gitlab-runner setup
------------------------------
Base docker installation:
https://docs.docker.com/install/linux/docker-ce/debian/
https://secure.idiap.ch/intranet/system/software/docker
Ensure to add/configure for auto-loading the ``overlay`` kernel module in
``/etc/modules``. Then update/create ``/etc/docker/daemon.json`` to contain
the entry ``"storage-driver": "overlay2"``. Restart the daemon. Eventually
reboot the machine to ensure everything works fine.
the entry ``"storage-driver": "overlay2"``.
To ensure that you can control memory and CPU usage for launched docker
containers, you'll need to enable "cgroups" on your machine. In essence,
change ``/etc/default/grub`` to contain the line
``GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"``. Then, re-run
``update-grub`` after such change.
To install docker at Idiap, you also need to follow the security guidelines
from Cédric at https://secure.idiap.ch/intranet/system/software/docker. If you
......@@ -46,6 +51,9 @@ for this step:
$ service docker start
Reboot the machine to ensure everything works fine.
Hosts section
=============
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment