Skip to content

Commit

Permalink
Add comment on rootless containers creating device nodes
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Dec 3, 2019
1 parent 7117286 commit 8cb1af9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rootless.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ can easily fail
* Pause and Unpause (Works with cgroup V2 support)
* Issues with higher UIDs can cause builds to fail
* If a build is attempting to use a UID that is not mapped into the user namespace mapping for a container, then builds will not be able to put the UID in an image.
* Making device nodes within a container fails, even when running --privileged.
* Kernel does not allow non root user processes (processes without CAP_MKNOD) to create device nodes. If container needs to create device nodes, it must be run as root.

0 comments on commit 8cb1af9

Please sign in to comment.