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

Introduction to Docker

Introduction to Docker

An Introduction to Docker. What it is, how to use it, and why it makes a difference.

Brayden Winterton

May 08, 2015
Tweet

Other Decks in Programming

Transcript

  1. An Introduction to Docker
    Brayden Winterton

    View full-size slide

  2. A little about me

    View full-size slide

  3. Survey Time!

    View full-size slide

  4. What is Docker?

    View full-size slide

  5. In simpler times

    View full-size slide

  6. Server
    Host OS
    Bins/Libs
    LAMP
    Traditional LAMP Stack

    View full-size slide

  7. But today…

    View full-size slide

  8. The matrix from hell

    View full-size slide

  9. This isn’t the first time

    View full-size slide

  10. How did we solve it?

    View full-size slide

  11. Docker fixes the matrix from hell

    View full-size slide

  12. Isn’t this basically a vm?

    View full-size slide

  13. Docker is an ecosystem
    But we’ll focus on Docker Engine and Docker Containers

    View full-size slide

  14. Docker Engine

    View full-size slide

  15. Let’s see it!

    View full-size slide

  16. Don’t believe me?

    View full-size slide

  17. Let’s see a real life application
    Now with port mapping!

    View full-size slide

  18. How do I get to my container?
    Hint: Port mapping

    View full-size slide

  19. Container modification
    The easy way and the hard way

    View full-size slide

  20. First, the hard way

    View full-size slide

  21. What good is that?
    Or in other words, what just happened?

    View full-size slide

  22. The easy way
    And, dare I say, the best way

    View full-size slide

  23. As complex as you want
    As if you want complexity in your life

    View full-size slide

  24. Linking Containers

    View full-size slide

  25. Linking modifies the containers

    View full-size slide

  26. Lets see an example

    View full-size slide

  27. Tired of typing in commands by hand?
    Let’s talk orchestration

    View full-size slide

  28. One call, that’s all

    View full-size slide

  29. Why use Docker?

    View full-size slide

  30. Developers love it

    View full-size slide

  31. Sysadmins love it

    View full-size slide

  32. Separate or combine roles

    View full-size slide

  33. Repeatability
    Repeatability
    Repeatability
    Repeatability
    Repeatability
    Repeatability
    Repeatability
    Repeatability
    Repeatability

    View full-size slide

  34. Pitfalls to watch for

    View full-size slide

  35. Brayden Winterton
    @braydenw
    [email protected]
    Linkedin.com/in/bwinterton
    https://joind.in/14006

    View full-size slide