Skip to content

Commit 7e9b586

Browse files
ribalbaArneTR
andauthored
Adds the docker-args (#93)
* Adds the docker-args * renamed docker-args to docker-run-args --------- Co-authored-by: Arne Tarara <[email protected]>
1 parent 786adf5 commit 7e9b586

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/en/docs/measuring/usage-scenario.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ services:
8585
gcb-wordpress-dummy:
8686
# ...
8787
depends_on:
88-
- gcb-wordpress-mariadb
88+
- gcb-wordpress-mariadb
8989
```
9090

9191
- `services` **[dict]**: (Dictionary of container dictionaries for orchestration)
@@ -147,7 +147,9 @@ services:
147147
- `read-sci-stdout:` **[bool]** *(optional)*
148148
+ Enables the reading of ticks for the unit of work (*R*) required to calculate the SCI metric.
149149
+ Please see [SCI (Green Software Foundation) →]({{< relref "sci" >}}) for more information.
150-
150+
- `docker-run-args:` **[list]** *(optional)*
151+
+ A list of string that should be added to the `docker run` command of that container.
152+
+ The argument needs to be listed in the `user.capabilities` json under `measurement:orchestrators:docker:allow-args`. The string in the `user.capabilities` can be a regex. Opening this up could be a potential security issue!
151153

152154
Please note that every key below `services` will serve as the name of the
153155
container later on. You can overwrite the container name with the key `container_name`.

0 commit comments

Comments
 (0)