Skip to content

Commit

Permalink
Remove nodev from mounts
Browse files Browse the repository at this point in the history
We need the ability to create overlayfs in empty dir volumes
and support similar use cases.

Signed-off-by: Mrunal Patel <[email protected]>
  • Loading branch information
mrunalp committed Nov 15, 2018
1 parent 9c7f9ad commit 7be522e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/container_create_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7be522e

Please sign in to comment.