1
0
Fork 0
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:
Sam Alba 2013-03-11 14:28:11 -07:00
parent fb350e0c77
commit a3a946703b

View file

@ -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}}
`