Skip to content

Commit 94c33d4

Browse files
committed
Add nosuid,noexec,nodev to proc
This is to match the same mount options as the host. Signed-off-by: Michael Crosby <[email protected]>
1 parent 1ac5ac6 commit 94c33d4

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)