Ops Made Easy: An introduction to using Docker

21c0a7a7034a6b11140bf7a44e162055?s=47 Tom Paulus
February 07, 2018

Ops Made Easy: An introduction to using Docker

21c0a7a7034a6b11140bf7a44e162055?s=128

Tom Paulus

February 07, 2018
Tweet

Transcript

  1. Ops Made Easy An introduction to using Docker Tom Paulus

    @tompaulus https://github.com/tpaulus https://tompaulus.com
  2. © Tom Paulus @tompaulus https://tompaulus.com What is Ops?

  3. Traditional Method • Multiple VMs run on unit of hardware

    • Each VM is completely independent and runs its own Guest OS • Hypervisor monitors and supports VMs running on the infrastructure © Tom Paulus @tompaulus https://tompaulus.com App A Bins/Libs Guest OS App B Bins/Libs Guest OS App C Bins/Libs Guest OS Hypervisor Infrastructure VM
  4. © Tom Paulus @tompaulus https://tompaulus.com What is Docker?

  5. Containerized Method • Containers can share the Host OS with

    other containers, making them much smaller and simpler • Because of this they start almost instantly and managing containers is much easier as we will see © Tom Paulus @tompaulus https://tompaulus.com App A Bins/Libs App B Bins/Libs App C Bins/Libs Host OS Infrastructure CONTAINER Docker
  6. © Tom Paulus @tompaulus https://tompaulus.com Docker in Practice

  7. Testing your Docker Install © Tom Paulus @tompaulus https://tompaulus.com

  8. Real-Life Application © Tom Paulus @tompaulus https://tompaulus.com • Wordpress presents

    us with a perfect application • Composed of a Web Server (commonly nginx) and a DB (commonly MySQL) Wordpress MySQL
  9. Real-Life Application © Tom Paulus @tompaulus https://tompaulus.com docker run \

    --name demo-mysql \ -e MYSQL_ROOT_PASSWORD=my-secret-pw \ -d \ mysql
  10. Real-Life Application © Tom Paulus @tompaulus https://tompaulus.com docker run \

    --name demo-wordpress \ --link demo-mysql:mysql \ -p 8080:80 \ -d \ wordpress
  11. Real-Life Application © Tom Paulus @tompaulus https://tompaulus.com http://localhost:8080

  12. © Tom Paulus @tompaulus https://tompaulus.com Demo

  13. Want to Learn More? • Docker’s Website and the Community

    Hub • https://www.docker.com • https://store.docker.com • Google & the Community • There are tons of resources online, just a quick Google Search Away! © Tom Paulus @tompaulus https://tompaulus.com
  14. © Tom Paulus @tompaulus https://tompaulus.com

  15. © Tom Paulus @tompaulus https://tompaulus.com https://tpaul.us/docker-talk Slides Available Online:

  16. © Tom Paulus @tompaulus https://tompaulus.com