From d9f3548a936991594095c12b7271ce3387f4025c Mon Sep 17 00:00:00 2001 From: Phil Estes Date: Wed, 23 Aug 2017 10:37:47 -0700 Subject: [PATCH] Host-mode IPC sharing not possible in a userns This test is the API version of a docker_cli_run_test that was already disabled from userns, but when ported to API didn't retain the same test requirements. Specifically, a user namespaced process will not have access to the host namespace's IPC devices and is already documented as such in the user namespace restrictions docs. Docker-DCO-1.1-Signed-off-by: Phil Estes --- integration-cli/docker_api_ipcmode_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-cli/docker_api_ipcmode_test.go b/integration-cli/docker_api_ipcmode_test.go index 52dfee85a7..4b114ed83a 100644 --- a/integration-cli/docker_api_ipcmode_test.go +++ b/integration-cli/docker_api_ipcmode_test.go @@ -188,7 +188,7 @@ func (s *DockerSuite) TestAPIIpcModePrivateAndContainer(c *check.C) { * can use IPC of the host system. */ func (s *DockerSuite) TestAPIIpcModeHost(c *check.C) { - testRequires(c, DaemonIsLinux) + testRequires(c, DaemonIsLinux, NotUserNamespace) cfg := container.Config{ Image: "busybox",