You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Containers on Windows are showing up with "Memory": 0 even when a memory limit is configured in the task definition. This appears to be related to the Memory field moving from Config to HostConfig in API version 1.18.
We've released version 1.16.0 of the ECS agent and a new ECS-optimized Windows AMI that supports memory limits. Please note that Windows containers have a higher minimum memory requirement than Linux containers. See the updated documentation for instructions to get started using the new AMI.
Containers on Windows are showing up with
"Memory": 0
even when a memory limit is configured in the task definition. This appears to be related to theMemory
field moving fromConfig
toHostConfig
in API version 1.18.On Linux, compatibility is maintained through reading from both
Config
fields andHostConfig
, but Windows omits that code. See a 1.17 example versus a 1.19 example to see how the field moved.This is related to other API compatibility issues as noted in moby/moby#27601.
The text was updated successfully, but these errors were encountered: