mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Set the memory soft limit to the same value than the hard limit
This commit is contained in:
parent
fb350e0c77
commit
a3a946703b
1 changed files with 1 additions and 0 deletions
|
@ -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}}
|
||||
`
|
||||
|
||||
|
|
Loading…
Reference in a new issue