I'm setting up a gitlab + redmine service for our startup company intern administration and code hosting using preconfigured Docker containers. Doing this was very easy using command line docker on a docker pre configured digitalocean image. It was even easer using tutum + digitalocean.

We think about using AWS for several purposes. So I tried setting up the mentioned configuration with EC2 Container Service (ECS). But on ECS, you have to allocate memory to each docker container. That means, containers can not share memory when they're running on the same server.

Even worse: Since you have to allocate memory to each container, your docker cannot use the servers swap, because swap cannot be allocated!

Why are these limitations in place? Is there a possible way to work around these?


ATM its not possible to disable the OOM killer, nor over subscribe the underlying ram.

There are some feature requests on github that you can vote for:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.