Wednesday, May 27, 2015

Boot2Docker shellInit - set the DOCKER_HOST in your macosx Terminal

Personal note to me rather than something special, if you use Boot2Docker on your MacOSX and you want an easy way to  your docker command line client to connect to the underlying boot2docker vm,  add on your ~/.bash_profile file the following line. Credits to this stackoverflow post.

$(boot2docker shellinit 2>/dev/null)


  
 

No comments:

Post a Comment