mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
+1
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user