5 min read

first we need to install docker and boot2docker

i did using brew

brew install docker
view raw docker hosted with ❤ by GitHub
brew install boot2docker
view raw boot2docker hosted with ❤ by GitHub

after we need to initiate boot2docker

boot2docker init
view raw init hosted with ❤ by GitHub

and start the vm

boot2docker up
view raw up hosted with ❤ by GitHub

the vm is up but you cannot use docker ps, you gonna need use the follow command to make things work.

$(boot2docker shellinit)
view raw boot2docker hosted with ❤ by GitHub

now you can run your docker.

to know boot2docker ip address cmd this

boot2docker ip
view raw gistfile1.sh hosted with ❤ by GitHub
Blog Logo

Wesley Werneck


Published

Image

blog uelei.com

My life my universe and things that came in my mind..

Back to Overview