Skip to content

Commit 7141ea3

Browse files
authored
Merge pull request #2664 from crosbymichael/proc
Add nosuid,noexec,nodev to proc
2 parents 5600adc + 94c33d4 commit 7141ea3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

oci/spec.go

Lines changed: 1 addition & 0 deletions
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)