json output from k6 on docker

sanemat

Murahashi [Matt] Kenichi

Posted on April 13, 2021

json output from k6 on docker

You need to add --user $UID with docker run.

docker run \
  -i \
  -v $(pwd):/ci/ \
  --user $UID \
  loadimpact/k6:latest \
  run \
  --out json=/ci/performance/full.json \
  --summary-export=/ci/performance/summary.json \
  /ci/packages/faas-penguin-local/performance-test.js
Enter fullscreen mode Exit fullscreen mode

And this is actual example:
faas-penguin/config.yml at c31ab0c47feb9c26ed8b3297468568dfbf6f25cd · sanemat/faas-penguin

refs:
Permission denied on k6 docker json output - k6 support - k6 community forum

💖 💪 🙅 🚩
sanemat
Murahashi [Matt] Kenichi

Posted on April 13, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related