-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
When creating a container with a device attached, the device does not inherit the correct uid/gid since version 1.0.0-rc4.
The test is based on a config.json generated by
docker run -it --device /dev/snd alpine
With runc version 1.0.0-rc4 :
$ sudo runc run test-v1.0.0-rc4
/ # ls -als /dev/snd
0 crw-rw---- 1 root root 116, 2 Feb 26 10:35 controlC0
0 crw-rw---- 1 root root 116, 10 Feb 26 10:35 hwC0D0
With runc version 1.0.0-rc3:
$ sudo runc run test-v1.0.0-rc3
/ # ls -als /dev/snd
0 crw-rw---- 1 root 986 116, 2 Feb 26 10:38 controlC0
0 crw-rw---- 1 root 986 116, 10 Feb 26 10:38 hwC0D0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels