runsc/do: don't specify the read-only flag for the root mount

The root mount is an overlay mount.

PiperOrigin-RevId: 250429317
This commit is contained in:
Andrei Vagin
2019-05-30 12:06:42 -07:00
committed by Shentubot
parent 4b9cb38157
commit b52e571a61
+1 -2
View File
@@ -105,8 +105,7 @@ func (c *Do) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) su
spec := &specs.Spec{
Root: &specs.Root{
Path: absRoot,
Readonly: true,
Path: absRoot,
},
Process: &specs.Process{
Cwd: absCwd,