1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #11450 from crosbymichael/rlimitfix

Don't hardcode default rlimit
This commit is contained in:
Alexander Morozov 2015-03-17 20:27:05 -07:00
commit cf071bb962

View file

@ -66,13 +66,6 @@ func New() *configs.Config {
ReadonlyPaths: []string{
"/proc/sys", "/proc/sysrq-trigger", "/proc/irq", "/proc/bus",
},
Rlimits: []configs.Rlimit{
{
Type: syscall.RLIMIT_NOFILE,
Hard: 1024,
Soft: 1024,
},
},
}
if apparmor.IsEnabled() {