Remove nodev from mounts
We need the ability to create overlayfs in empty dir volumes
and support similar use cases.
@@ -1037,10 +1037,6 @@ func addOCIBindMounts(mountLabel string, containerConfig *pb.ContainerConfig, sp
}
options = append(options, "rbind")
- if !strings.HasPrefix(dest, "/dev") {
- options = append(options, "nodev")
- }
-
// mount propagation
mountInfos, err := dockermounts.GetMounts(nil)
if err != nil {
