Docker Community Forums

Share and learn in the Docker community.

Is is possible to limit memory to less than 1GB?


(Limbo Peng) #1

Hi,

As shown in the screenshot, Docker for Mac requires at least 1GB memory, which is undesirable for my use case (mainly docker pull & docker push to transfer images + occasionally running small CLIs).

It would be great if I can limit it to 128MB or something.


(Limbo Peng) #2

Wow, this forum is really helpful. I somehow figured it out myself - the settings are stored at ~/Library/Group Containers/group.com.docker/settings.json, just set memoryMiB to whatever you like.


(Penumbralfromage) #3

Thanks for the follow-up, Limbo - this is exactly what I was looking for.