Windows: Added support for memory limit
Signed-off-by: Darren Stahl <darst@microsoft.com> Upstream-commit: 12fe27a40893d92489996550ddff976eba50332c Component: engine
This commit is contained in:
@ -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: ...,
|
||||
|
||||
Reference in New Issue
Block a user