зеркало из https://github.com/microsoft/docker.git
Merge pull request #23609 from Microsoft/WindowsMemory
Windows: Re-enabled support for memory limit
This commit is contained in:
Коммит
1f3efe6776
|
@ -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: ...,
|
||||
|
|
Загрузка…
Ссылка в новой задаче