bridge the dev/production gap with docker

17
Bridge the Dev/Production Gap with Docker John Oerter

Upload: john-oerter

Post on 09-Apr-2017

103 views

Category:

Software


3 download

TRANSCRIPT

Bridge the Dev/Production Gap with Docker

John Oerter

“Keep development, staging, and production as similar as possible“

- The Twelve Factor App

DevelopmentCI /

StagingProduction

Compose

Engine Swarm

Machine

Kitematic Registry

Hub Cloud

Datacenter

Trusted Registry

Universal Control Pane

namespaces

cgroups

union file systems

DOCKER is not virtualization

Source: https://www.docker.com/what-docker

FROM ubuntu:14.04 RUN apt-get update && apt-get install -y cowsay ENV PATH $PATH:/usr/games COPY docker.cow /usr/share/cowsay/cows/ RUN ln -sv /usr/share/cowsay/cows/docker.cow /usr/share/cowsay/cows/default.cow CMD ["cowsay"]

Dockerfile Image

Registry Container

docker build

docker rundoc

ker pu

sh

docker pulldocker run

DOCKER recapDocker, Inc has an ecosystem of tools and products around containers

Docker engine wraps kernel features to make working with containers easier

Images are the build component Registries are the distribution component Containers are the run component

–Bob Marshall @flowchainsensei

“What’s your overhead for deploying to production?

What if you could reduce that?”

How long does it take to onboard a new developer?

Thank you!

John Oerter @john_oerter johnoerter.me

[email protected] phenomblue.com