#Create docker machine
create docker machine with the following options
docker-machine create --driver "virtualbox" --engine-insecure-registry "" --engine-opt "http_proxy=$http_proxy" --engine-opt "https_proxy=$https_proxy" --engine-opt "no_proxy=$no_proxy" default
create the machine using default configuration. Then later modify the /var/lib/boot2docker/profile and then restart docker daemon
EXTRA_ARGS='
--label provider=virtualbox
--insecure-registry ossa.docker.oraclecorp.com