-
Notifications
You must be signed in to change notification settings - Fork 87
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
PermissionError: [Errno 13] Permission denied #46
Comments
Hello, I'm trying to make it work as you. As I understood it correctly, when you run the container as your user to give access to the pulse folder, then you are trying to run "mopidy" not as mopidy-user but as you. So I think that is needed to give the same mopidy permission to the user passed as parameter when launching the container. I was looking at the TheBiggerGuy example here for creating a new user but I'm not quite sure how to do it. If I can make it work, I'll write back |
Ok, well I found a solution, maybe not the cleanest one. I've built another Dockerfile on top of the one provided by this repo adding a new user inside the group 29 (audio) and then give it some permissions the dockerfile:
docker build command:
and then run:
|
Just to expand on this... I have spent the last two days trying to get this containers permissions working. If don't map the If I map the I tried to map Overall my impression has been... permissions are a cluster... at least for me. I have had nothing but trouble getting permissions straightened out... seems like it's a constant battle and the only thing that seems to work constantly is just running as root... which is NOT ideal... DeadEnd |
Hi
I'm trying to run this docker with this composer:
But when I try to run it, I get this error in the logs:
The user is in the docker group and all the other container are working. Any idea what to do?
The text was updated successfully, but these errors were encountered: