Browse Source

Merge pull request #14588 from rhatdan/ro

We now support multiple roModes
Brian Goff 10 years ago
parent
commit
24c09006c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      daemon/volumes.go

+ 1 - 1
daemon/volumes.go

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