At first I thought it was just a difference between Ubuntu and OS X since it seemed to work fine on my laptop. But after a little googling I came across a docker thread which seemed to be pretty similar to what I was experiencing.
Apparently the default mount size for
/dev/shm may not be large enough if
Chrome has alot of tabs open (you check how many using
$ lsof /dev/shm). To
increase the size:
$ sudo umount /dev/shm $ sudo mount -t tmpfs -o rw,nosuid,nodev,noexec,relatime,size=512M tmpfs /dev/shm