Skip to content

Commit 94c33d4

Browse files
committedSep 19, 2018
Add nosuid,noexec,nodev to proc
This is to match the same mount options as the host. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
1 parent 1ac5ac6 commit 94c33d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎oci/spec.go

+1
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ func populateDefaultUnixSpec(ctx context.Context, s *Spec, id string) error {
167167
Destination: "/proc",
168168
Type: "proc",
169169
Source: "proc",
170+
Options: []string{"nosuid", "noexec", "nodev"},
170171
},
171172
{
172173
Destination: "/dev",

0 commit comments

Comments
 (0)