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. On Thu, Sep 25, 2014 at 5:49 PM, Bk Lau <[email protected]> wrote: > 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) > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/7e1b2717-a47d-4193-9647-d86d2bfab15c%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/7e1b2717-a47d-4193-9647-d86d2bfab15c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgx%3Da5RxmVPkKHNTjb%2BXMDiQyFQ4U-qjMme5DwjrPGZSyw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
