mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
/dev should be constrained in size
There really is no reason why anyone should create content in /dev other then device nodes. Limiting it size to the 64 k size limit. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
fa7db52e26
commit
bfdb0f3cb8
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue