소스 검색

Merge pull request #34166 from rhatdan/master

/dev should be constrained in size just like /dev/shm
Sebastiaan van Stijn 8 년 전
부모
커밋
72cda6a6c2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      oci/defaults.go

+ 1 - 1
oci/defaults.go

@@ -91,7 +91,7 @@ func DefaultLinuxSpec() specs.Spec {
 			Destination: "/dev",
 			Type:        "tmpfs",
 			Source:      "tmpfs",
-			Options:     []string{"nosuid", "strictatime", "mode=755"},
+			Options:     []string{"nosuid", "strictatime", "mode=755", "size=65536k"},
 		},
 		{
 			Destination: "/dev/pts",