Skip to content

Commit 537607f

Browse files
authored
Merge pull request #303 from linuxserver/readme-caps
2 parents f160c46 + fa502be commit 537607f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

roles/generate-jenkins/templates/README.j2

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,15 @@ Containers are configured using parameters passed at runtime (such as those abov
150150
{% if readonly_supported is defined and readonly_supported %}
151151
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
152152
{% endif %}
153+
{% if cap_add_param %}
154+
{% for item in cap_add_param_vars %}
155+
| `--cap-add={{ item.cap_add_var }}` | {{ item.desc }} |
156+
{% endfor %}
157+
{% endif %}
158+
{% if opt_cap_add_param %}
159+
{% for item in opt_cap_add_param_vars %}
160+
| `--cap-add={{ item.cap_add_var }}` | {{ item.desc }} |
161+
{% endfor %}
153162
{% if nonroot_supported is defined and nonroot_supported %}
154163
| `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
155164
{% endif %}

0 commit comments

Comments
 (0)