Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ad2d1c8

Browse filesBrowse files
author
Christian Bay
committed
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.
1 parent 81236d6 commit ad2d1c8
Copy full SHA for ad2d1c8

File tree

Expand file treeCollapse file tree

1 file changed

+14
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+14
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,5 +196,19 @@ Below are some examples of how to prepare a docker image running with a non-root
196196

197197
</details>
198198

199+
<details>
200+
<summary>Gitlab runner Docker executor</summary>
201+
202+
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).
203+
204+
```
205+
[[runners]]
206+
executor = "docker"
207+
[runners.docker]
208+
privileged = true
209+
```
210+
211+
</details>
212+
199213
## License
200214
The project is released under version 2.0 of the [Apache License](http://www.apache.org/licenses/LICENSE-2.0.html).

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.