SlideShare a Scribd company logo
Container as a Service with
Docker
Patrick Chanezon, Docker Inc.
@chanezon
French
Polyglot
Platforms
Software Plumber
San Francisco
Developer Relations
@chanezon
1995 2015
“The future is already here — it's
just not very evenly distributed”
William Gibson, Neuromancer
Docker’s mission is to
build tools of mass innovation
Internet (hardware layer)
Servers Desktops Phones Cars Houses Drones
Network
equipment
Public
transit
TVs
Industrial
facilities
Scientific
instruments
Financial
system
Programmers
Internet (software layer)
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
Internet (hardware layer)
Servers Desktops Phones Cars Houses Drones
Network
equipment
Public
transit
TVs
Industrial
facilities
Scientific
instruments
Financial
system
Programmers
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
App
a software layer to program the internet
Cloud Market
PublicHybridPrivate
IT Pros Devops DevelopersArchitects
Linux Container Ecosystem
flockerglusterfs
weavecalicomidokuracisconuage
Cloud
OS
Plugins
Orchestration
The Docker mission
Build Ship Run
Anywhere
Distributed Applications
10
XaaS Pyramid
Platform As A Service
Infrastructure As A Service
Software
As A Service
Docker Container As A Service - March 2016
Docker Container As A Service - March 2016
5
Goldilocks and the 3 XaaS
Just rightToo highToo low
IaaS PaaS CaaS
5
Goldilocks and the 3 XaaS
Platform As A Service
Infrastructure As A Service
Software
As A Service
Too high
Too low
Just right
Container As A Service
5
Goldilocks and the 3 XaaS
Container As A Service
Infrastructure As A Service
Software
As A Service
Docker Containers as a Service (CaaS)
An IT managed and secure application content and infrastructure
where developers can self service build and deploy applications
The Docker Journey: The Power of AND
To run these Dockerized
applications in production,
teams need to secure and
manage the infrastructure,
apps and service levels
Control
18
Speed and simplicity are the
#1 drivers leading developers
to try Docker
Agility
By default, the Docker
technology, gives apps
(containers) portability across
environments
Portability
Continuous Integration
Pre-production environments deliver only 50%
of the Docker value
Docker Containers as a Service (CaaS)
Lessons learned: Avoid these pitfalls
1
2
3
Developers don’t adopt locked down systems
Existing “end to end” solutions break the
Docker experience
Beware of lock-in and loss of portability
19
Let’s Play: Where’s Whaledo
in Google Container Engine?
$ docker build -t gcr.io/${PROJECT_ID}/hello-node .
$ gcloud docker push gcr.io/${PROJECT_ID}/hello-node
$ gcloud container clusters create hello-world 
--num-nodes 1 
--machine-type g1-small
$ kubectl run hello-node --
image=gcr.io/${PROJECT_ID}/hello-node --port=8080
$ kubectl get services hello-node
$ kubectl scale rc hello-node --replicas=3
https://cloud.google.com/container-engine/docs/tutorials/hello-node
in Kubernetes?
in EC2 Container Service?
$ ecs-cli up --keypair id_rsa --capability-iam 
—size 2 --instance-type t2.medium
create a compose file
$ ecs-cli compose --file hello-world.yml up
$ ecs-cli ps
$ ecs-cli compose --file hello-world.yml scale 2
$ ecs-cli compose --file hello-world.yml service up
http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_tutorial.html
in Red Hat?
$ ./openshift kube apply -c docker-registry-config.json
OpenShift relies on the concept of Builds to turn your
application source into a runnable Docker image
$ ./openshift kube create buildConfigs -c application-
buildconfig.json
$ curl -s -A "GitHub-Hookshot/github" -H "Content-
Type:application/json" -H "X-Github-Event:push" -d @github-
webhook-example.json
http://localhost:8080/osapi/v1beta1/buildConfigHooks/build100/se
cret101/github
$ ./openshift kube process -c application-template.json |
./openshift kube apply -c -
https://blog.openshift.com/openshift-v3-deep-dive-docker-kubernetes/
in Red Hat?
https://blog.openshift.com/openshift-v3-deep-dive-docker-kubernetes/
in Pivotal Cloud Foundry?
$cf api --skip-ssl-validation api.bosh-lite.com
$cf auth admin admin
$cf create-org diego
$cf target -o diego
$cf create-space diego
$cf target -s diego
$cf push my-app --no-start
$cf start my-app
https://github.com/cloudfoundry-incubator/diego-release
in Pivotal Cloud Foundry?
runC
The Docker CaaS Platform
28
BUILD SHIP RUN
Docker Toolbox
Docker Trusted
Registry
Docker UCP
Docker Hub Docker Tutum
Developer Workflows Secure Content and
Collaboration
Deploy, Manage, Scale
Developers IT Operations
BUILD
Developer Workflows
SHIP
Secure Content & Collaboration
RUN
Deploy, Manage, Scale
Docker CaaS Platform
Docker Containers as a Service platform
30
BUILD
Developer Workflows
SHIP
Registry Services
RUN
Management
Docker Toolbox
Docker Trusted
Registry
Docker Universal
Control Plane
Docker Hub Docker Cloud
Docker Engine
Ecosystem Plugins and Integrations
Characteristics of a CaaS: The Power of AND
31
Address needs of developers and IT ops
Support all stages in application lifecycle
Any language
Any operating system
Any infrastructure
Open APIs and pluggable architecture
Broad ecosystem support
Docker CaaS enables key initiatives
32
Continuous Integration
DevOps
Developer Self Service
Data PipelinesMicroservices Continuous Delivery
Containerization
Hybrid CloudMulti Cloud
Use Case: Decentralized CaaS for hybrid and multi cloud portability
Private datacenter for regulated apps
Central Portal
• Provision resources
• RBAC to VPC / datacenter
• Trusted Registry hosted
application templates
Cloud for all other apps
VPC 1 VPC2
App 1 App 2 App
App 1 App 2 App
Cloud
Portability
App
Portability
Use Case: Centralized CaaS for transformation to DevOps and micro services
After
Authorization
App Registration
Session
Management
Marketplace
Integration
Logging
…more
Trusted RegistryApp Service App Service
App A App B
Auth
…more
App Reg
Marketplace
Logging
Auth
Session
…more
App Reg
Logging
Before
App Teams
App BAuth
App Reg Marketplace
Logging
App Service
Universal Control Plane
App AAuth
App Reg Marketplace
Logging
App Service
App BAuth
App Reg Marketplace
Logging
App Service
App AAuth
App Reg Marketplace
Logging
App Service
Portability
Demos
• Docker Swarm, Compose and networking
• docker 1.10
• swarm 1.1.0
• compose 1.6.0 with networking
Spring Boot App using MongoDB
https://github.com/joshlong/spring-doge
https://github.com/chanezon/docker-tips/orchestration-networking
THANK YOU
Let’s Dockerize a Neo4J App
https://github.com/neo4j-examples/movies-java-spring-data-neo4j-4
• Service Discovery
• https://github.com/gliderlabs/registrator
• https://github.com/hashicorp/consul-template
• https://github.com/ehazlett/interlock
• Persistent volumes with Swarm and Rex Ray on AWS
• http://blog.emccode.com/2015/11/03/use-docker-swarm-with-a-data-
persistence-layer/
• https://github.com/emccode/rexray
• Kubernetes on Swarm
• https://github.com/docker/swarm-frontends
Orchestration projects
• IPVS, Andrey Sibiryov, http://www.slideshare.net/Docker/kernel-load-
balancing-for-docker-containers-using-ipvs
• DNS Service Discovery for Docker Swarm, Ahmet Alp Balkan,
http://www.slideshare.net/Docker/dns-service-discovery-for-docker-swarm
Load Balancing
• Spring Boot, MongoDB, compose, swarm, networking
• https://github.com/joshlong/spring-doge
• https://github.com/chanezon/docker-tips/orchestration-networking
• Java EE 7 / Angular App with Docker Swarm by @mgreau
Compose for build and deploy, Wildfly, Apache, Angular, Mysql, Redis,
batch and API apps
• https://github.com/mgreau/docker4dev-tennistour-app
• Java EE Docker & Kubernetes by @arun-gupta
• https://github.com/javaee-samples/docker-java
Java Examples
• Docs
https://docs.docker.com/engine/userguide/networking/dockerne
tworks/
• Create a Swarm cluster with networking
https://github.com/chanezon/docker-tips/orchestration-
networking
• Networking in compose
https://github.com/docker/compose/blob/master/docs/networki
ng.md
• Nathan Leclaire Seamless Docker Multihost Overlay Networking
on DigitalOcean With Machine, Swarm, and Compose,
Docker networking
• Using Ansible with Docker Machine to Bootstrap Host Nodes
http://nathanleclaire.com/blog/2015/11/10/using-ansible-with-
docker-machine-to-bootstrap-host-nodes/
• Seamless Docker Multihost Overlay Networking on DigitalOcean
With Machine, Swarm, and Compose, RethinkDB
http://nathanleclaire.com/blog/2015/11/17/seamless-docker-
multihost-overlay-networking-on-digitalocean-with-machine-
swarm-and-compose-ft.-rethinkdb/
Nathan’s tips

More Related Content

PPTX
Docker Container As A Service - Mix-IT 2016
PPTX
Docker Orchestration: Welcome to the Jungle! Devoxx & Docker Meetup Tour Nov ...
PPTX
Docker Platform and Ecosystem
PPTX
Docker Platform and Ecosystem Nov 2015
PPTX
Neo4J with Docker and Azure - GraphConnect 2015
PPTX
Devoxx 2016 - Docker Nuts and Bolts
PPTX
Docker, LinuX Container
PPTX
Docker Orchestration: Welcome to the Jungle! JavaOne 2015
Docker Container As A Service - Mix-IT 2016
Docker Orchestration: Welcome to the Jungle! Devoxx & Docker Meetup Tour Nov ...
Docker Platform and Ecosystem
Docker Platform and Ecosystem Nov 2015
Neo4J with Docker and Azure - GraphConnect 2015
Devoxx 2016 - Docker Nuts and Bolts
Docker, LinuX Container
Docker Orchestration: Welcome to the Jungle! JavaOne 2015

What's hot (19)

PPTX
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
PPTX
Container as a Service with Docker
PPTX
What's New in Docker - February 2017
PDF
Docker, the Future of DevOps
PPTX
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
PPTX
Using Open Source and Open Standards in the Platform game
PPTX
Docker Container As A Service - JAX 2016
PDF
Introduction to Docker
PDF
Building Reusable Development Environments with Docker
PPTX
When Docker Engine 1.12 features unleashes software architecture
PDF
Docker and Containers overview - Docker Workshop
PDF
Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros
PPTX
Docker : Container Virtualization
PDF
Are VM Passé?
ODP
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
PPTX
Docker Devoxx UK - Never mind the bollocks here's the Linux Containers
PPTX
What's new in Docker - InfraKit - Docker Meetup Berlin 2016
PPTX
Docker 101 Checonf 2016
PPTX
Docker Bday #5, SF Edition: Introduction to Docker
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
Container as a Service with Docker
What's New in Docker - February 2017
Docker, the Future of DevOps
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
Using Open Source and Open Standards in the Platform game
Docker Container As A Service - JAX 2016
Introduction to Docker
Building Reusable Development Environments with Docker
When Docker Engine 1.12 features unleashes software architecture
Docker and Containers overview - Docker Workshop
Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros
Docker : Container Virtualization
Are VM Passé?
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
Docker Devoxx UK - Never mind the bollocks here's the Linux Containers
What's new in Docker - InfraKit - Docker Meetup Berlin 2016
Docker 101 Checonf 2016
Docker Bday #5, SF Edition: Introduction to Docker
Ad

Viewers also liked (16)

PPTX
Rancher March 2016 Online Meetup Containers-as-a-Service with Rancher 1.0
PPTX
Tectonic Summit 2016: Ticketmaster's Public Cloud & Kubernetes Strategy
PDF
Docker - container and lightweight virtualization
PDF
15_11-18_PR_Traverse Announces Patent Issuance
PDF
F1041028_George_Chen_Resume_9_with_Publications_Training
PDF
Congelamiento de precios productos en cooperativa obrera
PDF
Play station 4 camilo q
PDF
Cascalog at Hadoop Day
DOCX
Trabajo de informatica aplicada #1
PDF
Congelamiento de Precios - Productos en supermercados libertad
PDF
A replication study of the top performing systems in SemEval twitter sentimen...
PDF
DieHarder (CCS 2010, WOOT 2011)
PPT
Upgrading the Curriculum
PDF
Goal Centre e-bulletin Feb 2015
PPTX
SBK Kongress 2010 - Informierte PatientInnen – ist die Pflege darauf vorbere...
PPT
Dr. Bart Cammaerts - The Mediation of Dissensus
Rancher March 2016 Online Meetup Containers-as-a-Service with Rancher 1.0
Tectonic Summit 2016: Ticketmaster's Public Cloud & Kubernetes Strategy
Docker - container and lightweight virtualization
15_11-18_PR_Traverse Announces Patent Issuance
F1041028_George_Chen_Resume_9_with_Publications_Training
Congelamiento de precios productos en cooperativa obrera
Play station 4 camilo q
Cascalog at Hadoop Day
Trabajo de informatica aplicada #1
Congelamiento de Precios - Productos en supermercados libertad
A replication study of the top performing systems in SemEval twitter sentimen...
DieHarder (CCS 2010, WOOT 2011)
Upgrading the Curriculum
Goal Centre e-bulletin Feb 2015
SBK Kongress 2010 - Informierte PatientInnen – ist die Pflege darauf vorbere...
Dr. Bart Cammaerts - The Mediation of Dissensus
Ad

Similar to Docker Container As A Service - March 2016 (20)

PDF
Introduction to Kubernetes with demo
PDF
Introduction to Kubernetes and GKE
PDF
Red Hat and kubernetes: awesome stuff coming your way
PDF
Cloud-native .NET Microservices mit Kubernetes
PDF
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
PDF
'DOCKER' & CLOUD: ENABLERS For DEVOPS
PDF
Docker and Cloud - Enables for DevOps - by ACA-IT
PDF
citus™ iot ecosystem
PPTX
Yet Another Session about Docker and Containers​
PDF
The App Developer's Kubernetes Toolbox
PPTX
Docker SF Meetup January 2016
PDF
Dockercon eu tour 2015 - Devoxx Casablanca
PDF
Kubernetes extensibility
PPTX
Programming the world with Docker
PDF
A hitchhiker‘s guide to the cloud native stack
PDF
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
PDF
PHP Buildpacks in the Cloud on Bluemix
 
PDF
Cloud Foundry for PHP developers
PDF
What's new in Kubernetes
Introduction to Kubernetes with demo
Introduction to Kubernetes and GKE
Red Hat and kubernetes: awesome stuff coming your way
Cloud-native .NET Microservices mit Kubernetes
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
'DOCKER' & CLOUD: ENABLERS For DEVOPS
Docker and Cloud - Enables for DevOps - by ACA-IT
citus™ iot ecosystem
Yet Another Session about Docker and Containers​
The App Developer's Kubernetes Toolbox
Docker SF Meetup January 2016
Dockercon eu tour 2015 - Devoxx Casablanca
Kubernetes extensibility
Programming the world with Docker
A hitchhiker‘s guide to the cloud native stack
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
PHP Buildpacks in the Cloud on Bluemix
 
Cloud Foundry for PHP developers
What's new in Kubernetes

More from Patrick Chanezon (20)

PPTX
KubeCon 2019 - Scaling your cluster (both ways)
PPTX
KubeCon China 2019 - Building Apps with Containers, Functions and Managed Ser...
PPTX
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
PPTX
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
PPTX
Docker Enterprise Workshop - Intro
PPTX
Docker Enterprise Workshop - Technical
PPTX
The Tao of Docker - ITES 2018
PPTX
Moby KubeCon 2017
PPTX
Microsoft Techsummit Zurich Docker and Microsoft
PPTX
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
PPTX
Docker Meetup Feb 2018 Develop and deploy Kubernetes Apps with Docker
PPTX
DockerCon EU 2017 Recap
PPTX
Docker Innovation Culture
PPTX
The Tao of Docker - Devfest Nantes 2017
PPTX
Docker 之道 Modernize Traditional Applications with 无为 Create New Cloud Native ...
PPTX
Moby Open Source Summit North America 2017
PPTX
Moby Introduction - June 2017
PPTX
Docker Cap Gemini CloudXperience 2017 - la revolution des conteneurs logiciels
PPTX
Weave User Group Talk - DockerCon 2017 Recap
PPTX
Oscon 2017: Build your own container-based system with the Moby project
KubeCon 2019 - Scaling your cluster (both ways)
KubeCon China 2019 - Building Apps with Containers, Functions and Managed Ser...
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
Docker Enterprise Workshop - Intro
Docker Enterprise Workshop - Technical
The Tao of Docker - ITES 2018
Moby KubeCon 2017
Microsoft Techsummit Zurich Docker and Microsoft
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Docker Meetup Feb 2018 Develop and deploy Kubernetes Apps with Docker
DockerCon EU 2017 Recap
Docker Innovation Culture
The Tao of Docker - Devfest Nantes 2017
Docker 之道 Modernize Traditional Applications with 无为 Create New Cloud Native ...
Moby Open Source Summit North America 2017
Moby Introduction - June 2017
Docker Cap Gemini CloudXperience 2017 - la revolution des conteneurs logiciels
Weave User Group Talk - DockerCon 2017 Recap
Oscon 2017: Build your own container-based system with the Moby project

Recently uploaded (20)

PDF
medical staffing services at VALiNTRY
PPTX
Essential Infomation Tech presentation.pptx
PDF
Complete React Javascript Course Syllabus.pdf
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
DOCX
The Five Best AI Cover Tools in 2025.docx
PPT
Introduction Database Management System for Course Database
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Online Work Permit System for Fast Permit Processing
PPT
JAVA ppt tutorial basics to learn java programming
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
ai tools demonstartion for schools and inter college
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
Materi-Enum-and-Record-Data-Type (1).pptx
medical staffing services at VALiNTRY
Essential Infomation Tech presentation.pptx
Complete React Javascript Course Syllabus.pdf
Upgrade and Innovation Strategies for SAP ERP Customers
The Five Best AI Cover Tools in 2025.docx
Introduction Database Management System for Course Database
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Online Work Permit System for Fast Permit Processing
JAVA ppt tutorial basics to learn java programming
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Wondershare Filmora 15 Crack With Activation Key [2025
VVF-Customer-Presentation2025-Ver1.9.pptx
ai tools demonstartion for schools and inter college
PTS Company Brochure 2025 (1).pdf.......
Design an Analysis of Algorithms I-SECS-1021-03
2025 Textile ERP Trends: SAP, Odoo & Oracle
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Odoo POS Development Services by CandidRoot Solutions
Materi-Enum-and-Record-Data-Type (1).pptx

Docker Container As A Service - March 2016

  • 1. Container as a Service with Docker Patrick Chanezon, Docker Inc. @chanezon
  • 4. “The future is already here — it's just not very evenly distributed” William Gibson, Neuromancer
  • 5. Docker’s mission is to build tools of mass innovation
  • 6. Internet (hardware layer) Servers Desktops Phones Cars Houses Drones Network equipment Public transit TVs Industrial facilities Scientific instruments Financial system Programmers Internet (software layer) App App App App App App App App App App App App App App App App App App App App App App App App App App App App
  • 7. Internet (hardware layer) Servers Desktops Phones Cars Houses Drones Network equipment Public transit TVs Industrial facilities Scientific instruments Financial system Programmers App App App App App App App App App App App App App App App App App App App App App App App App App App App App a software layer to program the internet
  • 8. Cloud Market PublicHybridPrivate IT Pros Devops DevelopersArchitects
  • 10. The Docker mission Build Ship Run Anywhere Distributed Applications 10
  • 11. XaaS Pyramid Platform As A Service Infrastructure As A Service Software As A Service
  • 14. 5 Goldilocks and the 3 XaaS Just rightToo highToo low IaaS PaaS CaaS
  • 15. 5 Goldilocks and the 3 XaaS Platform As A Service Infrastructure As A Service Software As A Service Too high Too low Just right Container As A Service
  • 16. 5 Goldilocks and the 3 XaaS Container As A Service Infrastructure As A Service Software As A Service
  • 17. Docker Containers as a Service (CaaS) An IT managed and secure application content and infrastructure where developers can self service build and deploy applications
  • 18. The Docker Journey: The Power of AND To run these Dockerized applications in production, teams need to secure and manage the infrastructure, apps and service levels Control 18 Speed and simplicity are the #1 drivers leading developers to try Docker Agility By default, the Docker technology, gives apps (containers) portability across environments Portability Continuous Integration Pre-production environments deliver only 50% of the Docker value Docker Containers as a Service (CaaS)
  • 19. Lessons learned: Avoid these pitfalls 1 2 3 Developers don’t adopt locked down systems Existing “end to end” solutions break the Docker experience Beware of lock-in and loss of portability 19
  • 21. in Google Container Engine? $ docker build -t gcr.io/${PROJECT_ID}/hello-node . $ gcloud docker push gcr.io/${PROJECT_ID}/hello-node $ gcloud container clusters create hello-world --num-nodes 1 --machine-type g1-small $ kubectl run hello-node -- image=gcr.io/${PROJECT_ID}/hello-node --port=8080 $ kubectl get services hello-node $ kubectl scale rc hello-node --replicas=3 https://cloud.google.com/container-engine/docs/tutorials/hello-node
  • 23. in EC2 Container Service? $ ecs-cli up --keypair id_rsa --capability-iam —size 2 --instance-type t2.medium create a compose file $ ecs-cli compose --file hello-world.yml up $ ecs-cli ps $ ecs-cli compose --file hello-world.yml scale 2 $ ecs-cli compose --file hello-world.yml service up http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_tutorial.html
  • 24. in Red Hat? $ ./openshift kube apply -c docker-registry-config.json OpenShift relies on the concept of Builds to turn your application source into a runnable Docker image $ ./openshift kube create buildConfigs -c application- buildconfig.json $ curl -s -A "GitHub-Hookshot/github" -H "Content- Type:application/json" -H "X-Github-Event:push" -d @github- webhook-example.json http://localhost:8080/osapi/v1beta1/buildConfigHooks/build100/se cret101/github $ ./openshift kube process -c application-template.json | ./openshift kube apply -c - https://blog.openshift.com/openshift-v3-deep-dive-docker-kubernetes/
  • 26. in Pivotal Cloud Foundry? $cf api --skip-ssl-validation api.bosh-lite.com $cf auth admin admin $cf create-org diego $cf target -o diego $cf create-space diego $cf target -s diego $cf push my-app --no-start $cf start my-app https://github.com/cloudfoundry-incubator/diego-release
  • 27. in Pivotal Cloud Foundry? runC
  • 28. The Docker CaaS Platform 28 BUILD SHIP RUN Docker Toolbox Docker Trusted Registry Docker UCP Docker Hub Docker Tutum Developer Workflows Secure Content and Collaboration Deploy, Manage, Scale
  • 29. Developers IT Operations BUILD Developer Workflows SHIP Secure Content & Collaboration RUN Deploy, Manage, Scale Docker CaaS Platform
  • 30. Docker Containers as a Service platform 30 BUILD Developer Workflows SHIP Registry Services RUN Management Docker Toolbox Docker Trusted Registry Docker Universal Control Plane Docker Hub Docker Cloud Docker Engine Ecosystem Plugins and Integrations
  • 31. Characteristics of a CaaS: The Power of AND 31 Address needs of developers and IT ops Support all stages in application lifecycle Any language Any operating system Any infrastructure Open APIs and pluggable architecture Broad ecosystem support
  • 32. Docker CaaS enables key initiatives 32 Continuous Integration DevOps Developer Self Service Data PipelinesMicroservices Continuous Delivery Containerization Hybrid CloudMulti Cloud
  • 33. Use Case: Decentralized CaaS for hybrid and multi cloud portability Private datacenter for regulated apps Central Portal • Provision resources • RBAC to VPC / datacenter • Trusted Registry hosted application templates Cloud for all other apps VPC 1 VPC2 App 1 App 2 App App 1 App 2 App Cloud Portability App Portability
  • 34. Use Case: Centralized CaaS for transformation to DevOps and micro services After Authorization App Registration Session Management Marketplace Integration Logging …more Trusted RegistryApp Service App Service App A App B Auth …more App Reg Marketplace Logging Auth Session …more App Reg Logging Before App Teams App BAuth App Reg Marketplace Logging App Service Universal Control Plane App AAuth App Reg Marketplace Logging App Service App BAuth App Reg Marketplace Logging App Service App AAuth App Reg Marketplace Logging App Service Portability
  • 35. Demos
  • 36. • Docker Swarm, Compose and networking • docker 1.10 • swarm 1.1.0 • compose 1.6.0 with networking Spring Boot App using MongoDB https://github.com/joshlong/spring-doge https://github.com/chanezon/docker-tips/orchestration-networking
  • 38. Let’s Dockerize a Neo4J App https://github.com/neo4j-examples/movies-java-spring-data-neo4j-4
  • 39. • Service Discovery • https://github.com/gliderlabs/registrator • https://github.com/hashicorp/consul-template • https://github.com/ehazlett/interlock • Persistent volumes with Swarm and Rex Ray on AWS • http://blog.emccode.com/2015/11/03/use-docker-swarm-with-a-data- persistence-layer/ • https://github.com/emccode/rexray • Kubernetes on Swarm • https://github.com/docker/swarm-frontends Orchestration projects
  • 40. • IPVS, Andrey Sibiryov, http://www.slideshare.net/Docker/kernel-load- balancing-for-docker-containers-using-ipvs • DNS Service Discovery for Docker Swarm, Ahmet Alp Balkan, http://www.slideshare.net/Docker/dns-service-discovery-for-docker-swarm Load Balancing
  • 41. • Spring Boot, MongoDB, compose, swarm, networking • https://github.com/joshlong/spring-doge • https://github.com/chanezon/docker-tips/orchestration-networking • Java EE 7 / Angular App with Docker Swarm by @mgreau Compose for build and deploy, Wildfly, Apache, Angular, Mysql, Redis, batch and API apps • https://github.com/mgreau/docker4dev-tennistour-app • Java EE Docker & Kubernetes by @arun-gupta • https://github.com/javaee-samples/docker-java Java Examples
  • 42. • Docs https://docs.docker.com/engine/userguide/networking/dockerne tworks/ • Create a Swarm cluster with networking https://github.com/chanezon/docker-tips/orchestration- networking • Networking in compose https://github.com/docker/compose/blob/master/docs/networki ng.md • Nathan Leclaire Seamless Docker Multihost Overlay Networking on DigitalOcean With Machine, Swarm, and Compose, Docker networking
  • 43. • Using Ansible with Docker Machine to Bootstrap Host Nodes http://nathanleclaire.com/blog/2015/11/10/using-ansible-with- docker-machine-to-bootstrap-host-nodes/ • Seamless Docker Multihost Overlay Networking on DigitalOcean With Machine, Swarm, and Compose, RethinkDB http://nathanleclaire.com/blog/2015/11/17/seamless-docker- multihost-overlay-networking-on-digitalocean-with-machine- swarm-and-compose-ft.-rethinkdb/ Nathan’s tips

Editor's Notes

  • #11: The Docker mission is enable organizations to build, ship and run distributed applications anywhere.
  • #19: Leading to the Docker Journey – What we have learned from the millions of developers that have already traveled this journey is that The promise of agility (speed and flexibility) drew them to Docker, with how quickly they could setup their development environments to the realization that these new containers were now portable to any environment like never before. These two things are what made Docker hugely successful in the developer community with the CI use case. But CI only realizes half of the potential value of Docker because the app pipeline just switches back to a “waterfall” or “over the wall” at deployment. In order for the much loved developer platform to gain widespread adoption in an organization, the right management construct was required. To provide this much needed control, platforms (PaaS) and bundled solutions (i.e. Tectonic) emerged in an attempt to complete the journey but their approach ends up sacrificing portability and agility for the user. Thousands of Docker users chose to not adopt those solutions and instead built it themselves with glue code and bash scripts because they didn’t want to forego the agility and portability that drew them to Docker in the first place. Just a simple search on Github for ‘Docker’ will show the ecosystem of tools written by users and shared with the community So, where do we go from here?
  • #20: To do that, we can accelerate our path by learning from those who have traveled this path before and avoid common pitfalls when investigating solutions. An environment that is too locked down becomes a hassle for developers and adoption will suffer. Shadow IT behavior will emerge and developers will start creating new tools and processes to be able to use the languages they need and complete their work. EXAMPLE: BBC News had a locked down CI environment that did not include the tooling needed by many of the developers so the team created a side process to use the languages they needed. That not only went outside the official systems but then added a few days to each CI job. 2) Many of the existing solutions on the market are either too opinionated of a PaaS or are cobbled together solutions with a number of different products. These solutions can be difficult to deploy and manage over time. More specifically, many of them support the Docker format or take the Docker code and customize it for their solution environment. This can break not only the developer experience but also the ops side of the experience because they only supporting parts of the Docker API – so the user will not experience the desired behavior in all situations. This also breaks the ecosystem because the hundreds of partners building to the API may have compatibility issues against these solutions. 3) Portability is a default requirement for distributed applications. As the content creator, you must retain control of where that app lives and your ability to move it from environment to environment, to a different team and to different infrastructure providers. Other pitfalls… Developers will run entire application lifecycle outside of infra ops (shadow IT) Infrastructure-centric “container solutions” break developer experience Organizational finger-pointing is compounded because of stifled productivity Legacy applications get overlooked Gilt also shares the example where emphasizing control lead to a “cycle of suck” where they were taking longer to ship and with less innovation
  • #30: Local development environments Self service app images Build, Test, Deploy applications Define app behavior and infra needs Registry services for image storage, management and distribution IT Ops maintains library of secure base content Manage role based access to repos/images Management consoles Provision, manage infrastructure resources Monitor, manage, scale infrastructure and applications
  • #32: Docker is the only solution to give you agility, control and portability for all your distributed apps. The right choice in helping transform your business into an agile business. The platform is the only commercially supported Docker solution available on the market today. Other vendors who state they support Docker is not actually providing technical support and maintenance into the Docker product code. Docker is the only commercial yet open platform that gives you the operational flexibility you need. And unlike other solutions, Docker is… Language agnostic: C, Java, Phython, PHP, Go…. Infrastructure agnostic: on-prem, cloud, virtual, bare metal All stages: from dev to test to release engineering to production Any OS: Linux, Windows, Solaris Docker enables agile distributed applications in production to create agile companies
  • #33: So these
  • #34: This leading phahas a hybrid cloud environment and would like to have a portal to completely abstract away the infrastructure details from their app teams. This way in the portal they request compute resources. Depending on if the app is regulated or not, the actual provisioning and deployment will happen to either an AWS VPC or their private datacenter. In addition to the portal, J&J would like to add a central IT managed marketplace to get app templates and images to help the teams get started. Once provisioned, the actual deployment and ongoing management is de-centralized and owned by the application teams. Use Cases - Developer self service - Hybrid cloud portability - Multi cloud environment Why Docker? App portability is a MUST. Over time they want the option to move the DC apps to cthe cloud as regulations change. Additionally they have already added Azure to their environment and would like to be able to move apps to the new clouds.
  • #35: ADP operates in a more traditional centralized IT model where IT manages and operates the application and environment ongoing. ADP looked at Docker as they began their transition to DevOps. They were interested in gaining more efficiencies and re-use of code by moving to a shared services model instead of monoliths with a lot of repeat services. ADP has OpenStack for their private cloud and AWS for their public cloud. As part of the transition, ADP would will setup a central marketplace where the shared services apps are available for the app teams. In the ADP example both the environment and ongoing management remains centralized. Use Cases - Transition to Micro services - Enable Dev Ops - CI/CD Why Docker? Need app portability so they can choose to move across AWS / Openstack