diff --git a/daemon/oci_windows.go b/daemon/oci_windows.go index fd725d7fe2..571f273917 100644 --- a/daemon/oci_windows.go +++ b/daemon/oci_windows.go @@ -176,8 +176,8 @@ func (daemon *Daemon) createSpec(c *container.Container) (*libcontainerd.Spec, e Shares: &cpuShares, }, Memory: &windowsoci.Memory{ - //TODO Limit: ..., - //TODO Reservation: ..., + Limit: &c.HostConfig.Memory, + //TODO Reservation: ..., }, Network: &windowsoci.Network{ //TODO Bandwidth: ...,