mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows: Added support for memory limit
Signed-off-by: Darren Stahl <darst@microsoft.com>
This commit is contained in:
parent
30bbf184e9
commit
12fe27a408
1 changed files with 2 additions and 2 deletions
|
@ -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: ...,
|
||||
|
|
Loading…
Reference in a new issue