How to set Docker's system memory?

I'm using Docker 1.13.1 for Mac. The Docker client allows you to change the amount of memory provided to Docker using a simple slider interface. How can I set this value via docker's command line