mirror of
https://github.com/docker/cli.git
synced 2026-09-24 07:25:07 -05:00
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
|
# limits
|
||||||
{{if .Config.Ram}}
|
{{if .Config.Ram}}
|
||||||
lxc.cgroup.memory.limit_in_bytes = {{.Config.Ram}}
|
lxc.cgroup.memory.limit_in_bytes = {{.Config.Ram}}
|
||||||
|
lxc.cgroup.memory.soft_limit_in_bytes = {{.Config.Ram}}
|
||||||
{{end}}
|
{{end}}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user