From ad2d1c8814015b27d45584cb1ffe2a828c1ec816 Mon Sep 17 00:00:00 2001 From: Christian Bay Date: Mon, 26 Jul 2021 15:11:10 +0200 Subject: [PATCH] Readme: Docker non-root example for gitlab runner When a Gitlab runner with docker executor is used it needs an adjustment to run in privileged mode. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index cb926bf8..4b95a90e 100644 --- a/README.md +++ b/README.md @@ -196,5 +196,19 @@ Below are some examples of how to prepare a docker image running with a non-root +
+ Gitlab runner Docker executor + + Configure Docker container to run in privileged mode as described [here](https://docs.gitlab.com/runner/executors/docker.html#use-docker-in-docker-with-privileged-mode). + + ``` + [[runners]] + executor = "docker" + [runners.docker] + privileged = true + ``` + +
+ ## License The project is released under version 2.0 of the [Apache License](http://www.apache.org/licenses/LICENSE-2.0.html).