Just started using Docker on Mac with Boot2Docker. Using installation guide:
Setup goes fine. Then I try the exercises.
$ docker run -d -P --name web nginx
The above works and I can see the Nginx message in my browser at “http://ip:port”
So, I try:
$ docker stop web
$ docker rm web
Then I make directory “$HOME/site” and place “index.html” in it
$ docker run -d -P -v $HOME/site:/usr/share/nginx/html --name mysite nginx
$ docker port mysite
Please point me in the right direction so I can proceed to learn about Docker.