How can I change memory of vm from Command-line?

I using Docker for mac.

Is there a way to change memory of vm from Command-line?
pinata has removed, so I don’t know how do I change it from command-line.

How I can do it?

Docker for mac 1.12.0-rc2-beta16