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>
This commit is contained in:
parent
1ac5ac652b
commit
94c33d4f94
@ -167,6 +167,7 @@ func populateDefaultUnixSpec(ctx context.Context, s *Spec, id string) error {
|
|||||||
Destination: "/proc",
|
Destination: "/proc",
|
||||||
Type: "proc",
|
Type: "proc",
|
||||||
Source: "proc",
|
Source: "proc",
|
||||||
|
Options: []string{"nosuid", "noexec", "nodev"},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Destination: "/dev",
|
Destination: "/dev",
|
||||||
|
Loading…
Reference in New Issue
Block a user