Unit for docker module parameter 'memory_limit'

Hi:

What is the syntax to specify ‘memory_limit’ in the docker module?

According to Docker documentation[1], its passed
like so:
256b, 256k,256m or 256g
I see that according to the docker module doc its passed as 256MB? or should we follow the syntax as outlines in the Docker CLI?

An example would be nice.

Thanks,

–BK

[1]

-m, --memory=""            Memory limit (format: <number><optional unit>, where unit = b, k, m or g)

in the docs it indicates an example default of 256 MB.

The example code in question contributed with the docker modoule

suffixes = [‘B’, ‘KB’, ‘MB’, ‘GB’, ‘TB’, ‘PB’]

The docker CLI seems a bit non-standard in the regard of just using a single letter, so this seems ok to me.

I suspect nobody has used that petabyte setting.