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

Disable privileged test from in user namespace

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit f01e1c865f)
This commit is contained in:
Tonis Tiigi 2016-03-25 09:31:36 -07:00 committed by Tibor Vass
parent 92c9bab6ab
commit 5a71ca6739

View file

@ -983,7 +983,7 @@ func (s *DockerSuite) TestRunPidsLimit(c *check.C) {
}
func (s *DockerSuite) TestRunPrivilegedAllowedDevices(c *check.C) {
testRequires(c, DaemonIsLinux)
testRequires(c, DaemonIsLinux, NotUserNamespace)
file := "/sys/fs/cgroup/devices/devices.list"
out, _ := dockerCmd(c, "run", "--privileged", "busybox", "cat", file)