浏览代码

Merge pull request #34611 from estesp/no-hostmode-userns

Host-mode IPC sharing not possible in a userns
Yong Tang 8 年之前
父节点
当前提交
ff167a285a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      integration-cli/docker_api_ipcmode_test.go

+ 1 - 1
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",