Slide 1

Slide 1 text

Ops Made Easy An introduction to using Docker Tom Paulus @tompaulus https://github.com/tpaulus https://tompaulus.com

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

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

Slide 4

Slide 4 text

© Tom Paulus @tompaulus https://tompaulus.com What is Docker?

Slide 5

Slide 5 text

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

Slide 6

Slide 6 text

© Tom Paulus @tompaulus https://tompaulus.com Docker in Practice

Slide 7

Slide 7 text

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

Slide 8

Slide 8 text

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

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

Real-Life Application © Tom Paulus @tompaulus https://tompaulus.com http://localhost:8080

Slide 12

Slide 12 text

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

Slide 13

Slide 13 text

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

Slide 14

Slide 14 text

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

Slide 15

Slide 15 text

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

Slide 16

Slide 16 text

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