udev permissions in Docker

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am trying to run ADB in a docker container, ADB normally works fine and I can see and talk to my connected devices. When i execute ADB devices from docker, I get a no permission issue even running as root which is already a member of the plugdev group.
I can't see any obvious user in the list from cut -d: -f1 /etc/passwd looks like it runs docker, so my assumption is it runs as whoever is logged in, it also happens if i sudo it.
How do i determine which user needs adding to the plugdev group?

permissions docker adb
add a comment |Â
up vote
0
down vote
favorite
I am trying to run ADB in a docker container, ADB normally works fine and I can see and talk to my connected devices. When i execute ADB devices from docker, I get a no permission issue even running as root which is already a member of the plugdev group.
I can't see any obvious user in the list from cut -d: -f1 /etc/passwd looks like it runs docker, so my assumption is it runs as whoever is logged in, it also happens if i sudo it.
How do i determine which user needs adding to the plugdev group?

permissions docker adb
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to run ADB in a docker container, ADB normally works fine and I can see and talk to my connected devices. When i execute ADB devices from docker, I get a no permission issue even running as root which is already a member of the plugdev group.
I can't see any obvious user in the list from cut -d: -f1 /etc/passwd looks like it runs docker, so my assumption is it runs as whoever is logged in, it also happens if i sudo it.
How do i determine which user needs adding to the plugdev group?

permissions docker adb
I am trying to run ADB in a docker container, ADB normally works fine and I can see and talk to my connected devices. When i execute ADB devices from docker, I get a no permission issue even running as root which is already a member of the plugdev group.
I can't see any obvious user in the list from cut -d: -f1 /etc/passwd looks like it runs docker, so my assumption is it runs as whoever is logged in, it also happens if i sudo it.
How do i determine which user needs adding to the plugdev group?

permissions docker adb
asked Feb 27 at 9:46
iainpb
10315
10315
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426899%2fudev-permissions-in-docker%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password