Docker Community Forums

Share and learn in the Docker community.

What is the default memory limit for a container


(Mgudmund) #1

Like the subject says, what is the default memory limit of a docker container with no memory limit specified on docker run?

Kind regards, Martin


(Sam Saffron) #2

The default is “unlimited”, aka whatever the OS gives it.


(Mystery1386) #3

Is there a way to limit the memory usage?