Creating a Larger Memory for Memory Allocation

The Memory Allocation factor setting (in the Management Options of Instance Management) resizes the memory of the instance. It will not resize memory to less than 1024MB, as it is the minimum required memory for Docker.

On some platforms, for example Mac OS, if Docker host is created by Docker Machine, Docker creates an instance with 1024MB by default. For the Memory Allocation factor to have an effect, the Docker Machine should be created with a larger memory than 1024MB.

For example, to create a Docker Machine with 2GB of memory, use the following command:

$docker-machine create -d virtualbox --virtualbox-memory 2048 <docker-machine-name>

For example, to create a Docker Machine with 4GB of memory, use the following command:

$docker-machine create -d virtualbox --virtualbox-memory 4096 <docker-machine-name>