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
No related branches found
No related tags found
No related merge requests found
Pipeline #27498 passed
...@@ -17,12 +17,17 @@ Docker and Gitlab-runner setup ...@@ -17,12 +17,17 @@ Docker and Gitlab-runner setup
------------------------------ ------------------------------
Base docker installation: 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 Ensure to add/configure for auto-loading the ``overlay`` kernel module in
``/etc/modules``. Then update/create ``/etc/docker/daemon.json`` to contain ``/etc/modules``. Then update/create ``/etc/docker/daemon.json`` to contain
the entry ``"storage-driver": "overlay2"``. Restart the daemon. Eventually the entry ``"storage-driver": "overlay2"``.
reboot the machine to ensure everything works fine.
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 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 from Cédric at https://secure.idiap.ch/intranet/system/software/docker. If you
...@@ -46,6 +51,9 @@ for this step: ...@@ -46,6 +51,9 @@ for this step:
$ service docker start $ service docker start
Reboot the machine to ensure everything works fine.
Hosts section Hosts section
============= =============
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment