Presentation that I gave at PuppetCamp NYC 2013.
This git repo provides source to build and run the presentation with Docker and Docker Compose.
Project: https://github.com/jumanjiman/puppetcamp_nyc_2013
Docker image: https://registry.hub.docker.com/u/jumanjiman/puppetcamp_nyc_2013/
-
Clone this repo and run:
ci/build ci/run
-
Point your web browser at http://127.0.0.1:9090
These images are built as part of the test harness on CircleCI. If all tests pass on master branch, then the image is pushed into the docker hub.
docker pull jumanjiman/puppetcamp_nyc_2013
To view the presentation:
docker run --rm -it -p 9090:9090 jumanjiman/puppetcamp_nyc_2013
Then point your web browser at http://127.0.0.1:9090
Each built image has labels that generally follow http://label-schema.org/
We add a label, ci-build-url
, that is not currently part of the schema.
This extra label provides a permanent link to the CI build for the image.
View the ci-build-url label on a built image:
docker inspect \
-f '{{ index .Config.Labels "io.github.jumanjiman.ci-build-url" }}' \
jumanjiman/puppetcamp_nyc_2013
Query all the labels inside a built image:
docker inspect jumanjiman/puppetcamp_nyc_2013 | jq -M '.[].Config.Labels'
This work is licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported
License