Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 529 Bytes

Docker.md

File metadata and controls

14 lines (12 loc) · 529 Bytes
  1. create yourgithubid/webserver
  2. Populate it with an appropriate Docker file and index.htm (as, for example, in this repo)
  3. create a dockerhub account http://hub.docker.com
  4. at top right click on create and then "Create automated Build"
  5. select github (on the left)
  6. select your forked project yourgithubid/webserver
  7. 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