Hi @rduinmaijer,
see this previous answer for the same question: Save json when using docker to run k6 - #2 by imiric
Tip: you can use the search function in the upper right corner to find previous discussions.
This is not strictly related to k6, but we’ll consider adding this to the official documentation if it helps.