Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Conli2014andWJAX2014: The docker ecosystem

Conli2014andWJAX2014: The docker ecosystem

** Docker Ecosystem**

Here you find my docker slide deck container from my docker ecosystem talks

* [WJAX 2014 - GER: Das Docker Ökosystem]
* [Conli 2014- GER: Die Chancen des Docker-Ökosystems][1]

- start with `docker run -tid -p 8002:80 rossbachp/docker-ecosystem:wjax2014`
- start with `docker run -tid -p 8002:80 rossbachp/docker-ecosystem:conli2014`
- open your browser with `http :8002/docker-ecosystem`
- view german slides[2]

Feedback welcome

[Peter Rossbach][3]

[1]: http://www.continuouslifecycle.de/lecture.php?id=4614
[2]: https://speakerdeck.com/rossbachp/conli2014andwjax2014-the-docker-ecosystem
[3]: https://twitter.com/PRossbach

Peter Rossbach

November 18, 2014
Tweet

More Decks by Peter Rossbach

Other Decks in Programming

Transcript

  1. 16 / 75 © 2014 <[email protected]>, @PRossbach, Continuous Lifecycle Mannheim

    and WJAX Munich $ docker run -ti --rm ubuntu:14.04 /bin/bash $ apt-get update $ apt-get install -y apache2 $ # CTRL-P CTRL-Q to leave container $ CID=$(docker ps -l | awk '/^[0-9a-f]/{print $1}') $ docker commit \ --author="Peter Rossbach <[email protected]>" \ $CID bee42/apache2:wjax2014.1 $ docker images | grep apache2 bee42/apache2 wjax2014.1 2a78c3879b0a 1 days ago 228 MB
  2. 17 / 75 © 2014 <[email protected]>, @PRossbach, Continuous Lifecycle Mannheim

    and WJAX Munich FROM ubuntu:14.04 RUN \ apt-get update && \ apt-get install -y apache2 && \ mkdir -p /var/lock/apache2 /var/run/apache2 /var/log/apache2 && \ apt-get clean autoclean && \ apt-get autoremove -y && \ rm -rf /var/lib/{apt,dpkg,cache,log}/ EXPOSE 80 CMD [ "/usr/sbin/apache2ctl", "-DFOREGROUND" ]
  3. 18 / 75 © 2014 <[email protected]>, @PRossbach, Continuous Lifecycle Mannheim

    and WJAX Munich $ docker build -t="bee42/apache2:wjax2014.2" . $ docker images | grep apache2 bee42/apache2 wjax2014.2 3c96284beff0 2 days ago 227.9 MB bee42/apache2 wjax2014.1 2a78c3879b0a 2 days ago 228 MB $ docker run -d -p 8002:80 bee42/apache2:wjax2014.2
  4. 72 / 75 © 2014 <[email protected]>, @PRossbach, Continuous Lifecycle Mannheim

    and WJAX Munich docker run -d -p 8002:80 rossbachp/docker-ecosystem:wjax2014 docker run -d -p 8002:80 rossbachp/docker-ecosystem:conli2014 http <dockerhost>:8002/docker- ecosystem