Skip to content
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

Update documenation on Github and DockerHub to add privileged flag #74

Closed
dantheman213 opened this issue May 6, 2020 · 5 comments
Closed

Comments

@dantheman213
Copy link

Hello, I noticed the DockerHub image didn't work for me when I ran it as advised in the README.. after fiddling around I see you need to add the --privileged flag to get this to work. My final command looked like this:

docker run -d \
    --name=makemkv \
    -p 5800:5800 \
    -v /etc/makemkv/config:/config:rw \
    -v /opt/makemkv/storage:/storage:ro \
    -v /opt/makemkv/output:/output:rw \
    --device /dev/sr0 \
    --device /dev/sg2 \
    --restart=always \
    --privileged \
    jlesage/makemkv

Great DockerHub image btw.

@jlesage
Copy link
Owner

jlesage commented May 8, 2020

The--privileged option is not required, unless the container is misconfigured.
What is the problem exactly without the option? Did you adjust USER_ID and GROUP_ID ?

@RyanRoberts210
Copy link

QNAP? I can only make it work with Privileged selected otherwise it doesn't see the drive at all.

@jlesage
Copy link
Owner

jlesage commented May 26, 2020

Could you provide the container's log ?

@RyanRoberts210
Copy link

RyanRoberts210 commented May 26, 2020 via email

@jlesage
Copy link
Owner

jlesage commented Feb 13, 2023

Device files (e.g /dev/sr0) on QNAP have very restrictive permissions. They need to be adjusted manually. See #53.

@jlesage jlesage closed this as completed Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants