From charlesreid1

Using git to organize Dockerfiles:

  • Started by creating an organization on (can do this on Github/Github Enterprise/GitLab/BitBucket as well)
  • Organization was called docker:
  • User docker owns repositories related to storing Dockerfiles for docker containers that are useful to have accessible across machines.

All repositories created in the docker organization follow the same system:

  • Each repo prefixed with d-
  • Apache httpd is d-httpd
  • Mongodb container is d-mongodb
  • Etc

Repository contents:

  • Dockerfile
  • Readme
  • Config files
  • Relevant scripts for building/running/other important verbs
  • You basically plug and chug, docker build with the docker file


  • Possible to use Git because Dockerfiles are just plain text.