For Non-Linux OSes (Windows, OS X etc) only, on which an installation of VirtualBox is needed to run Docker.
-
Locate and open file:
<Docker Toolbox Installation Direcotry>\start.sh
-
Add in the following lines after
$DOCKER_MACHINE create -d virtualbox --virtualbox-memory 2048 --virtualbox-disk-size 204800 $VM
"${VBOXMANAGE}" modifyvm default --vram 16
"${VBOXMANAGE}" modifyvm default --natpf1 "http,tcp,127.0.0.1,2375,,2375"