Docker intro

831 views

Published on

slides from the first Docker Meetup in Wellington

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Docker intro

  1. 1. Friday, 28 February 14
  2. 2. ... but why? Friday, 28 February 14
  3. 3. let’s talk about cargo Friday, 28 February 14
  4. 4. Friday, 28 February 14
  5. 5. Friday, 28 February 14
  6. 6. but, what’s that got to do with docker ... Friday, 28 February 14
  7. 7. separation of content loading and handling Friday, 28 February 14
  8. 8. standardised interface Friday, 28 February 14
  9. 9. hand crafted VM/Server vs standardised container Friday, 28 February 14
  10. 10. Friday, 28 February 14
  11. 11. Friday, 28 February 14
  12. 12. separation of Ops and Dev Friday, 28 February 14
  13. 13. ... but how? Friday, 28 February 14
  14. 14. OS hardware Friday, 28 February 14 docker container container container container
  15. 15. process bin/lib base image Friday, 28 February 14
  16. 16. docker container container container container base image OS hardware Friday, 28 February 14
  17. 17. registry container container Dev Prod Friday, 28 February 14
  18. 18. registry update update container container Dev Prod Friday, 28 February 14
  19. 19. and building a container? Friday, 28 February 14
  20. 20. Friday, 28 February 14
  21. 21. FROM ubuntu RUN apt-get install -y nginx EXPOSE 8080 CMD [“nginx”] Friday, 28 February 14
  22. 22. docker build -t name . docker run name docker ps Friday, 28 February 14
  23. 23. $ Demo Friday, 28 February 14
  24. 24. Friday, 28 February 14
  25. 25. what happens around docker Friday, 28 February 14
  26. 26. Friday, 28 February 14
  27. 27. $ vagrant box add base http://files.vagrantup.com/ precise32.box $ vagrant init $ vagrant up Friday, 28 February 14
  28. 28. Friday, 28 February 14
  29. 29. Friday, 28 February 14
  30. 30. Friday, 28 February 14
  31. 31. FROM orchardup/python:2.7 ADD . /code WORKDIR /code RUN pip install -r requirements.txt Friday, 28 February 14
  32. 32. web: build: . command: python app.py links: - db ports: - 8000:8000 db: image: orchardup/postgresql Friday, 28 February 14
  33. 33. Friday, 28 February 14
  34. 34. Friday, 28 February 14
  35. 35. http://www.centurylinklabs.com/auto-loadbalancing-withfig-haproxy-and-serf/ Friday, 28 February 14
  36. 36. questions? Friday, 28 February 14
  37. 37. me: @norbu09 thanks Friday, 28 February 14
  38. 38. thanks • http://www.flickr.com/ photos/emandernie • http://www.flickr.com/ photos/inhabitat • http://www.flickr.com/ photos/neonman/ • http://www.flickr.com/ photos/stevewall • http://www.flickr.com/ photos/mattimattila • http://www.flickr.com/ photos/l2f1 Friday, 28 February 14

×