-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission denied when running k6 new using docker #3643
Comments
Hi @iskyd 👋🏻 I'm unable to reproduce the issue on MacOS, and unfortunately don't have a Linux VM at hand to try and reproduce the issue. Could you @codebien and @mstoykov (I know you're under fedora, but it might still worth giving it a go?) please give it a try, and let us know if you're able to reproduce the issue? 🙇🏻 |
Have your tried adding |
|
@oleiade we need to report back in the doc this info. Can you please open an issue there? /cc @heitortsergent This is in the Getting started guide so I think it has a high severity https://grafana.com/docs/k6/latest/get-started/running-k6/#run-local-tests |
I have created the document issue #1536 in the documentation repository accordingly, with the high prio label. We should move any further discussion there, and I will therefore close this issue 👍🏻 |
Brief summary
After pulling the image running k6 new using docker will result in "permission denied"
Adding --user root seems to solve the problem.
k6 version
k6 v0.49.0 (commit/b5328aa782, go1.21.6, linux/amd64)
OS
Linux ubuntu
Docker version and image (if applicable)
24.0.7, build afdd53b
Steps to reproduce the problem
Expected behaviour
I expect script.js will be generated
Actual behaviour
Get the following error msg
time="2024-03-15T14:02:24Z" level=error msg="open script.js: permission denied"
The text was updated successfully, but these errors were encountered: