diff --git a/daemon/volumes.go b/daemon/volumes.go index bd1fc9c3b6a47bd6c0aa59c517c72e78870279f2..82a3b4ee7fabdc149f9ed8e837f7744487058d28 100644 --- a/daemon/volumes.go +++ b/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, }