Top Banner
CI/CD with Docker Docker Indianapolis 26-May-2015
12
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Docker Indy Meetup - CICD 26-May-2015

CI/CD with DockerDocker Indianapolis 26-May-2015

Page 2: Docker Indy Meetup - CICD 26-May-2015

2

Who am I?

• Matt Bentley• Solutions Engineer for Docker, Inc.• Been working with Docker since late 2013

Page 3: Docker Indy Meetup - CICD 26-May-2015

3

What do I do?

• Pre-sales, training, architectural review, and solutions delivery

• Playing with anything that has to do with Docker

Page 4: Docker Indy Meetup - CICD 26-May-2015

4

What we will cover today

• How you can start using Docker today• Building software using Docker containers• How to create Docker images• Using Docker in your CI/CD pipeline• Questions

Page 5: Docker Indy Meetup - CICD 26-May-2015

5

How you can start using Docker today

• Getting your feet wet– Use Docker to build your apps– Use Docker for local development and/or testing environments

• Going all in– Start with smaller, new projects– Take time to learn best practices first

Page 6: Docker Indy Meetup - CICD 26-May-2015

6

Building software using Docker containers

• Why?– Reliability– Reproducibility– Know your build environment– Greater flexibility

• How?– Utilize Docker images– Remember that containers are disposable and stateless

Page 7: Docker Indy Meetup - CICD 26-May-2015

7

How to create Docker images

• docker run– Allows for quick iteration and testing– Not easily reproducible

• docker build– Gives you a template for how an image was made (a Dockerfile)– Dockerfiles should live with the code– Easy to reproduce and automate

Page 8: Docker Indy Meetup - CICD 26-May-2015

Demo time!

Page 9: Docker Indy Meetup - CICD 26-May-2015

9

Using Docker in your CI/CD pipeline

• Use your CI service to build your Docker images– Provides consistency– Store your images in a registry

• Use Docker containers in your CI/CD system– Adds flexibility– Easy to control software versions– No more “well it worked on my machine…”

Page 10: Docker Indy Meetup - CICD 26-May-2015
Page 11: Docker Indy Meetup - CICD 26-May-2015

Questions?

Page 12: Docker Indy Meetup - CICD 26-May-2015

THANK YOU