6. Internet (hardware layer)
Servers
Desktop
s
Phones Cars Houses Drones
Network
equipment
Public
transit
TVs
Industria
l
facilities
Scientific
instrument
s
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
Desktop
s
Phones Cars Houses Drones
Network
equipment
Public
transit
TVs
Industria
l
facilities
Scientific
instrument
s
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
15. docker-compose: running multiple containers
Run your stack with one command: docker-compose up
Describe your stack with one file: docker-compose.yml
web:
build: .
command: python app.py
ports:
- "5000:5000"
volumes:
- .:/code
links:
- redis:redis
redis:
image: redis
28. Engine 1.9 Release
• Network management
•Top-level docker network command
•Out of the box support for multi host overlay networking
•Extensibility through plugins
• Volume management
•Top-level docker volume command
•Extensibility through plugins
• Built-in nodes discovery
•Daemon --cluster-store and --cluster-advertise
29. Engine 1.9 Release
• Builder
•Refactoring toward client-side build support
•ARG: build-time arguments (provides support for HTTP_PROXY)
•STOPSIGNAL: choose the stop signal for the contained process
• Miscellaneous
•Quality, stability, performance improvements
•awslog logging driver
• Experimental
•User namespaces phase 1 (daemon-wide root remap)
30. Roadmap Engine 1.10
• Runtime
•Progress toward runC integration
• Distribution
•Ongoing effort to rewrite push/pull layer
•New manifest design, with content addressability from the grounds-up
• Networking
•Stabilize all the new features shipped in 1.9.0
•Better support for IPv6
• Security
•Stable user namespaces (phase 1)
40. DockerCon EU 2015
Docker Containers as a Service Platform
Docker Toolbox Tutum
Build Ship Run
Docker Hub
• Make change to app
• git commit
• Automated Build • Provision second data center
• Deploy app
• Failover to a single data center
41. DockerCon EU 2015
Deploy & Manage Dockerized Apps in Production
Compose
Swarm
Networking
Engine
Plugins
Virtual, Cloud, Physical
Docker
Trusted Registry
42. DockerCon EU 2015
Self-Service App Deploys & Updates
Provisioning & Config of Heterogeneous Clusters
LDAP / AD integration with Docker Trusted Registry
Native Docker APIs & CLI
Monitoring, Logging, Auditing
>_
43. DockerCon EU 2015
Docker Containers as a Service Platform
Docker
Toolbox
Docker
Trusted Registry
Docker Universal
Control Plane
Build Ship Run
• “docker push”
with image signing
• Search/browse repos
• Teams-based RBAC
• View signed images
• Deleting tags
• Authentication
• Deploy and scale-out app
• Monitor stats
• Secrets management
49. Notary
“Let’s stop using curl|sh”
Trusted collections for any content
Transport-agnostic
Reliable updates, proof of origin, resistant to untrusted
transport, survivable key compromise
Build on industry-leading standards and research
53. • Docker Swarm, Compose and networking
• docker 1.9
• swarm 1.0.0
• compose 1.5.0 --x-networking
Spring Boot App using MongoDB
https://github.com/joshlong/spring-doge
https://github.com/chanezon/docker-tips/orchestration-networking
54. • Compose for build and deploy, Wildfly, Apache, Angular, Mysql,
Redis, batch and API apps - Compose for build
Java EE 7 / Angular App with Docker Compose
https://github.com/mgreau/docker4dev-tennistour-app
55. • 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
56. • 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
57. • 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
58. • 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,
RethinkDB http://nathanleclaire.com/blog/2015/11/17/seamless-
Docker networking
59. • 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
60. Fire up your first container today!
Ride the Whale!
Their customer loves the apps they are building so fast for him: George sees $$ glint in his eyes!
George relishes complexity.
Nobody understands how the system works... apart from him.
QWERTY 3.0 is a disaster, 2 years late
Docker Hub is Docker’s cloud service for …
Publishing and discovering container images through the public registry
Team collaboration and automation of application workflows
DAY 1 REFERENCE “… as we saw yesterday, Docker Content Trust …
… uses trust service on Docker Hub (built on Notary)
… but now you can stand-up a trust service on-premise alongside DTR
…DTR to store, view, and distribute signed images
DTR is the only registry on the market with this capability.
… and to make all this easy to configure and manage, Docker Trusted Registry also features a web-based admin GUI
… for insights into the state of the DTR host …
You have just seen the power of Docker Hub and the Power of Tutum
And how they work together
And really it is not about dev vs ops
it is about dev and ops working together and moving the app through the e2e phases rapidly and predictably seamlessly
It was a great demo but what about real life?
We gave a sneak peek as Project Orca at DCSF in June …
Everything you need to deploy and manage Dockerized apps …
Complements DTR
Integrated stack of our reliable, secure, scalable open source plumbing
it’s got the features teams need to move quickly with control in shipping apps to any infrastructure
---
To re-cap, you saw and end-to-end demo of the Docker CaaS Platform
Devs using Docker Toolbox and Docker Trusted Registry
Ops using DTR and DUCP
Work together to move quickly yet with control
Who wants to try these out?
Try these solutions today
Break-out sessions and hands-on labs
And distributed applications are not just something for aggressive web companies. This is an application architecture that is being adopted by all of the leaders of industry…every major enterprise organization is either already there or going down that path because of the agility it provides them in delivering applications that engage with their customers.