We are using alpine image on AWS ecs which work fine on just 100mb memory in task definition. Now we need ubuntu image which size is more then 180mb while alpine is just 5mb.
I want to know that we need to increase memory according to image?
or Docker image run completely in memory or just current processes in memory what if I specify memory less then docker image size in task definition?
AWS recommend 300 to 500mb but in development I want to save memory.