mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 21:21:42 +00:00
Set the memory soft limit to the same value than the hard limit
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