Merge pull request #35344 from rhatdan/readonly-/dev
/dev should not be readonly with --readonly flag Upstream-commit: 7d8affa3ef1ec904c1f10814f17406f39ff55fc9 Component: engine
This commit is contained in:
@@ -2729,7 +2729,7 @@ func (s *DockerSuite) TestRunContainerWithReadonlyRootfs(c *check.C) {
|
||||
if root := os.Getenv("DOCKER_REMAP_ROOT"); root != "" {
|
||||
testPriv = false
|
||||
}
|
||||
testReadOnlyFile(c, testPriv, "/file", "/etc/hosts", "/etc/resolv.conf", "/etc/hostname", "/sys/kernel", "/dev/.dont.touch.me")
|
||||
testReadOnlyFile(c, testPriv, "/file", "/etc/hosts", "/etc/resolv.conf", "/etc/hostname", "/sys/kernel")
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestPermissionsPtsReadonlyRootfs(c *check.C) {
|
||||
|
||||
Reference in New Issue
Block a user