mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 05:31:47 +00:00
Merge pull request #14588 from rhatdan/ro
We now support multiple roModes
This commit is contained in:
+1
-1
@@ -195,7 +195,7 @@ func (daemon *Daemon) registerMountPoints(container *Container, hostConfig *runc
|
||||
cp := &mountPoint{
|
||||
Name: m.Name,
|
||||
Source: m.Source,
|
||||
RW: m.RW && mode != "ro",
|
||||
RW: m.RW && !roModes[mode],
|
||||
Driver: m.Driver,
|
||||
Destination: m.Destination,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user