DockerCon16
Recap
Lee Calcote
Clouds, containers and their
management
@lcalcote
leecalcote
blog.gingergeek.com
[email protected]
Slide 2
Slide 2 text
Community Announcements
July 11-13th
July 23rd
July 8-9th
Sep 7-9th
July 19th
● Companies Hiring?
● People Looking?
● Other Events?
● Interesting News?
Slide 3
Slide 3 text
#microATX
Microservices &
Containers Austin
July 19th
Slide 4
Slide 4 text
Docker Community on Meetup.com
253
Total Groups
112,691
Total Members
73
Countries
1. Get out of the way
The best tools…
2. Adapt to you
Slide 13
Slide 13 text
1. Get out of the way
The best tools…
2. Adapt to you
3. Make the
powerful simple
Slide 14
Slide 14 text
Docker for Mac Docker for Windows
Slide 15
Slide 15 text
70,000 beta testers
Thank you!
Slide 16
Slide 16 text
No content
Slide 17
Slide 17 text
Hypervisor
Framework
vmnet Framework
Docker Container Engine
HyperKit
Linux
VPNKit
DataKit
Client
Libraries
Admin GUI
CLI
Security Sandbox
Making things easy is really hard.
Hypervisor
Framework
vmnet Framework
Docker Container Engine
HyperKit
Linux
VPNKit
DataKit
Client
Libraries
Admin GUI
CLI
Security Sandbox
Slide 18
Slide 18 text
Docker for Mac & Windows Public Beta
docker.com/getdocker
Slide 19
Slide 19 text
Moby - the Docker VM
Alpine was
designed to boot
from init ramdisk
So, restart the
VM should you
run into trouble
Slide 20
Slide 20 text
3 ways to get to Moby’s console
1. screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty 9600
2. docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh
3. docker run --net host --pid host --privileged -v /:/hostfs chroot /hostfs
Slide 21
Slide 21 text
No content
Slide 22
Slide 22 text
2.
Orchestration
Slide 23
Slide 23 text
Introducing the best way to
orchestrate Docker:
Docker.
Docker 1.12: now with orchestration built-in.
Slide 24
Slide 24 text
Swarm mode
Service API
Cryptographic node identity
Built-in routing mesh
Docker 1.12: now with orchestration built-in.
Slide 25
Slide 25 text
Pillars of
Docker 1.12
Slide 26
Slide 26 text
Combine your engines in swarms of any scale
Self-organizing, self-healing
No external data store required
No single points of failure
Infrastructure-agnostic topology
Swarm mode
Slide 27
Slide 27 text
Cryptographic node identity
Government-grade security by default
End-to-end TLS
Built-in government-grade PKI
Automated key rotation
Revoke any node at any time
Slide 28
Slide 28 text
Section 2 - Docker daemon configuration
2.14 Enable live restore
2.15 Set the auto-accept mode for the swarm to none
2.16 Set a secret value when initializing swarm mode
2.17 Do not enable swarm node, if not needed
2.18 Control the number of manager nodes in a swarm
Section 4 - Container Images and Build File
4.6 Add HEALTHCHECK to the container image
Section 5 - Container Runtime
5.26 Check container health at runtime
Slide 29
Slide 29 text
Desired state reconciliation
Scaling
Rolling updates
Advanced scheduling
Application-specified health checks
Rescheduling on node failure
Docker Service API
Slide 30
Slide 30 text
Built-in Routing Mesh
Swarm-wide overlay networking
Container-native load-balancing
DNS-based service discovery
No separate cluster to setup
Works with your existing load-balancers
Rock-solid kernel-only data path with IPVS
Slide 31
Slide 31 text
Built-in Routing Mesh
Deep-dive article on Docker 1.12 networking
coming...
Slide 32
Slide 32 text
A walk-through
Slide 33
Slide 33 text
Swarm mode
Service API
Cryptographic node identity
Built-in routing mesh
Docker 1.12: now with orchestration built-in.
Slide 34
Slide 34 text
Docker-native experience
No external dependencies
No single point of failure
Secure by default
Works with your infrastructure
Reverse compatible
Docker 1.12: now with orchestration built-in.
Slide 35
Slide 35 text
A walk-through
Slide 36
Slide 36 text
Using the beta? You already have 1.12
installed.
> docker swarm init
> docker service create
Slide 37
Slide 37 text
3.
Ops experience
Slide 38
Slide 38 text
beta.docker.com
Docker for AWS Docker for Azure
Slide 39
Slide 39 text
Deep integration with native load-balancers, templates,
SSH keys, ACLs, scaling groups, firewall rules…
beta.docker.com
Slide 40
Slide 40 text
It’s the application that matters!
Nobody cares about containers
Slide 41
Slide 41 text
Distributed Application Bundle
experimental
www.docker.com/dab
A portable format for multi-container applications