You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not use SYS_ADMIN Docker capability for k6 browser (#1330)
Updates all k6 browser Docker examples, which uses the
grafana/k6:master-with-browser image removing the usage of SYS_ADMIN
Docker capability, which is now not needed because the Chrome
'no-sandbox' argument is set by default. This change and its
implications are mentioned in a comment along with the cmdline example
and a recomendation to use a Docker SECCOMP profile instead, which
provides better security at the cost of worse UX.
docker run --rm -i -e K6_BROWSER_HEADLESS=false grafana/k6:master-with-browser run - <script.js
110
126
```
111
127
112
128
```bash
@@ -314,4 +330,4 @@ export function news() {
314
330
315
331
The preceding code contains two scenarios. One for the browser-level test called `browser` and one for the protocol-level test called `news`. Both scenarios are using the [constant-vus executor](/using-k6/scenarios/executors/constant-vus/) which introduces a constant number of virtual users to execute as many iterations as possible for a specified amount of time.
316
332
317
-
Since it's all in one script, this allows for greater collaboration amongst teams.
333
+
Since it's all in one script, this allows for greater collaboration amongst teams.
Collapse file: src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md
0 commit comments