1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #14588 from rhatdan/ro

We now support multiple roModes
This commit is contained in:
Brian Goff 2015-07-13 09:53:55 -04:00
commit 24c09006c9

View file

@ -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,
}