-
Notifications
You must be signed in to change notification settings - Fork 263
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
Running with Docker/Podman: Permission Denied #140
Comments
It works if the user is switched to root |
I have switched from root to mermaidcli in docker images. But I did not see any problem when running the tests: Line 8 in 194060f
Can you try to map data to /home/mermaidcli/data instead and see if that works without specifying root in the cli? |
Thanks for the reply. I get the same issues. What OS are you using? |
I am using ubuntu in my tests:
|
Had the same issue with docker on Ubuntu, solved using docker -u option with my uid
|
@MindaugasLaganeckas i could replicate the issue on ubuntu, docker uses the host file permissions when using bind mounts so the (host) i see two possible solutions to this (without modifying the dockerfile),
|
I will update the |
When I run the Docker image with Docker or Podman I get the following error
How can I run the CLI without root?
The text was updated successfully, but these errors were encountered: