Explorar o código

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

Host-mode IPC sharing not possible in a userns
Yong Tang %!s(int64=8) %!d(string=hai) anos
pai
achega
ff167a285a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.
  * can use IPC of the host system.
  */
  */
 func (s *DockerSuite) TestAPIIpcModeHost(c *check.C) {
 func (s *DockerSuite) TestAPIIpcModeHost(c *check.C) {
-	testRequires(c, DaemonIsLinux)
+	testRequires(c, DaemonIsLinux, NotUserNamespace)
 
 
 	cfg := container.Config{
 	cfg := container.Config{
 		Image: "busybox",
 		Image: "busybox",