I'm familiar with docker, but not boot2docker on OSX, and it took me quite a while to figure out how to increase the VM's memory size. You reference that it might be necessary to up the RAM for processing of larger images, so it would be helpful to have a quick link on how to change the configuration to match.
I followed the instructions here: https://docs.docker.com/articles/b2d_volume_resize/
Specifically,
- Initialise a default file to customize
boot2docker config > ~/.boot2docker/profile command.
- Edit the file and change from 2 Gig to 6 Gig
Memory = 2048
to
Memory = 6144
- Run the following commands:
$ boot2docker poweroff
$ boot2docker destroy
$ boot2docker init
$ boot2docker up