I am new to Docker, and trying to go through this tutorial setting up MemSQL from a Docker image - http://docs.memsql.com/4.0/setup/docker/ . I am on a Mac, and the tutoria
Docker Machine maintainer here. I don't think adjusting the config.json manually will work.
Your two options are to either create the machine with --virtualbox-memory set, or to adjust the VM's memory in the VirtualBox GUI ("Settings > System" for that VM I think). Make sure the machine is powered off and there should be a little slider that works.
EDIT: Another answer shows that you can do the in-place operation from the command line as well using VBoxManage.