- Layerfile Reference
MEMORY instruction allows you to specify how much memory your environment
This directive must always go at the top of a Layerfile.
If used in conjunction with
FROM /base-image, the parent Layerfile must be the
one which specifies
MEMORY, otherwise children might have to re-run steps from
the parent Layerfile.
MEMORY 2Gto ensure at least 2 gigabytes of memory are available.