Set the memory soft limit to the same value than the hard limit
Upstream-commit: a3a946703ba93e7d937680897ed89eb99c52acef Component: engine
This commit is contained in:
@ -87,6 +87,7 @@ lxc.cap.drop = audit_control audit_write mac_admin mac_override mknod net_raw se
|
||||
# limits
|
||||
{{if .Config.Ram}}
|
||||
lxc.cgroup.memory.limit_in_bytes = {{.Config.Ram}}
|
||||
lxc.cgroup.memory.soft_limit_in_bytes = {{.Config.Ram}}
|
||||
{{end}}
|
||||
`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user