Remember to get the latest boot2docker and docker!
brew install boot2docker
brew install docker
docker pull centos
boot2docker init
boot2docker start
boot2docker stop
boot2docker download
boot2docker up
boot2docker ssh
docker run --name shell -i -t centos:latest /bin/bash
docker ps -a
docker start 1f561fff6352
docker attach 1f561fff6352
docker ps -a
docker inspect container_name | grep IPAddress
boot2docker currently mounts host's /Users to boot2docker vm's /Users hence, the only thing needs to do is
docker run -it -v /Users:/Users image_name bash
$(boot2docker shellinit)