Slide 1

Slide 1 text

Docker: From Idea to Dev cloudacademy.com

Slide 2

Slide 2 text

Plan My Goal: Familiarize you with Docker so you can start today Presentation & Demo ~10 minutes for Q & A. Please put your questions in the chat.

Slide 3

Slide 3 text

Hi! I’m Adam Hawkins • Site Reliability Engineering Team Lead at Saltside • Manages ~350 containers in production • 2+ years of Docker experience • “Introduction to Docker” course lecturer • @adman65 • http://blog.slashdeploy.com

Slide 4

Slide 4 text

Docker & Friends

Slide 5

Slide 5 text

”Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code, runtime, system tools, system libraries – anything that can be installed on a server. This guarantees that the software will always run the same, regardless of its environment.” Docker Inc. (2016)

Slide 6

Slide 6 text

Use Cases Build Ship & Run • Development Environment Automation • Managing Data Stores • Cross OS Development • Development & Production Parity

Slide 7

Slide 7 text

Use Cases Build Ship & Run • Infrastructure Standardization • CI Build Isolation • Testing New Software • Distributing New Software

Slide 8

Slide 8 text

Right, But what is it? • Built on top of Linux kernel features like control groups • Isolates process and their resources from others running on a single kernel • Not “light weight” virtualization as often described. This is inaccurate

Slide 9

Slide 9 text

Containers vs VMs Credit: docker.com

Slide 10

Slide 10 text

The Docker Flow

Slide 11

Slide 11 text

Build, Ship, Run $ docker build -t my_org/my_app . $ docker push my_org/my_app $ docker run my_org/my_app

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

The Official Registry & Library • Default place to push & pull images (customizable) • Tons of useful base images in the official library! • Covers 90% of common use cases • User contributed images cover the remaining 10% • Odds are there is a base image for your language (Python, Ruby, Node, Java, Go, and more) • Also images for data stores (Redis, MySQL, MongoDB, and more)

Slide 14

Slide 14 text

Docker Compose • Models multi container applications through a configuration file • Great for development and testing • Can even be used to deploy to staging/ production

Slide 15

Slide 15 text

Docker Machine • Creates Docker hosts • Can create local VMs • Can create cloud instances on AWS/Azures/ etc • Can even create Docker swarms

Slide 16

Slide 16 text

Demo Time! Build a docker image and start a container Play with docker compose Show off misc features/commands

Slide 17

Slide 17 text

Demo Time! cloudacademy.com

Slide 18

Slide 18 text

Question Time cloudacademy.com

Slide 19

Slide 19 text

Thank you! https:/ /cloudacademy.com/webinars/ https:/ /cloudacademy.com/enterprise-cloud-training/ https:/ /cloudacademy.com/pricing/ cloudacademy.com