- create yourgithubid/webserver
- Populate it with an appropriate Docker file and index.htm (as, for example, in this repo)
- create a dockerhub account http://hub.docker.com
- at top right click on "Repositories" and then "Create Repository"
- select github (at the bottom)
- select your project yourgithubid/webserver
- click on create
Now every time you push a commit to the github repo, the new container is created on DockerHub.
You can access them from any machine via
docker pull yourDockerId/webserver