When enable user-remap, using --devices flage, the UID and GID of the device become invalid. #44070
aa624545345
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When enable user-remap, using flage "--devices" to map a device , the UID and GID of the device become invalid.
daemon.json:
use "--devices" to map a device to a container, you can see below that Uid and Gid of this device is invalid.
In the container, the correct UID range is [165536, 165536+65536]:
/ # cat /proc/1/uid_map 0 165536 65536
however, for the config of this container:
uid of this device is set to 0.
Beta Was this translation helpful? Give feedback.
All reactions