-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error response from daemon when using windows memory unbounded workaround #2344
Comments
Hi @McDoit , |
Yeah i did set it to true, but i also set both |
We don't disallow you from creating a task definition that specifies these, but memory limit is not working on Windows until Docker on Windows supports it. (I think the comments in this issue have more context on the problem of container memory limit on Windows) As per documented in the README for |
Ok, thank you for the clarification |
Summary
Running with
ECS_ENABLE_MEMORY_UNBOUNDED_WINDOWS_WORKAROUND
returnsCannotCreateContainerError: Error response from daemon: invalid option: Windows does not support MemoryReservation
Description
When trying to run
ECS_ENABLE_MEMORY_UNBOUNDED_WINDOWS_WORKAROUND
on our windows cluster with agent version 1.34.0 (latest?) i get the following error from the ECS console:CannotCreateContainerError: Error response from daemon: invalid option: Windows does not support MemoryReservation
Is this fixed yet, or is this related issue closed anyway?
#1144
Expected Behavior
Able to start a task with containers running only memory reserved
Observed Behavior
Not able to start task
Environment Details
Windows Server 2019 ECS AMI
Agent version 1.34.0
Docker version 19.03.5
Supporting Log Snippets
The text was updated successfully, but these errors were encountered: