add boot2docker env variables with a hostname
modfied docker functions