Upload
philipp-garbe
View
151
Download
0
Embed Size (px)
Citation preview
Philipp Garbe● Husband● Father● AutoScouty (almost 7 years)● Former MS-Fanboy● Now Docker-Fanboy ;)
@pgarbe
Docker Captains“Docker Captains are Docker experts and leaders in their communities who demonstrate a commitment to sharing their Docker knowledge with others.”
https://www.docker.com/community/docker-captains
http://container.training/
https://github.com/jpetazzo/orchestration-workshop
Advanced Orchestration Workshop
● Docker 1.12 (release candidate)
● Docker for AWS / Azure (private beta)
● Docker for Mac / Windows (public beta)
● Distributed Application Bundle (experimental)
Day I
Docker 1.12: Built-in Orchestration
More: https://blog.docker.com/2016/06/docker-1-12-built-in-orchestration/
Load Balancing
CertificateAuthority
Networking
Service Discovery
TLS
Swarm Mode Manager
Swarm Mode Worker
Orchestration Components
Volumes
Plugins
Distributed store Container
Runtime
Docker 1.12: Built-in Routing Mesh● Swarm-wide overlay networking
● Container-native load-balancing
● DNS-based service discovery
● Works with your existing load-balancers
● Rock-solid kernel-only data path with IPVS
● Desired state reconciliation
● Scaling
● Rolling updates
● Advanced scheduling
● Application-specified health checks
● Rescheduling on node failure
Docker 1.12: Service API
Docker 1.12: Service Deployment
Declare
ScheduleReconcile
$ docker service create declares the service name, network, image:tag port, and scale
Managers break down service into tasks, schedules them and workers execute tasks
Engines check to see what is running and compared to what was declared to “true up” the environment
Demo● Create a Swarm cluster (1 Manager, 2 Workers)● Deploy an app (using Service command)● Scale-up● Rolling update● Kill “container”● Kill “worker”
"Nobody cares about containers. It’s the application that matters!” Solomon Hykes
Experimental: http://www.docker.com/dab
Distributed Application Bundle
Distributed Application Bundledocker-compose build...$ docker-compose push...$ docker-compose bundleWrote bundle to example.dab
$ docker deploy exampleLoading bundle from example.dabCreating network app-networkCreating service example-dbCreating service example-web
More: https://blog.docker.com/2016/06/docker-app-bundle/
Docker for Mac/Windows
“No one ever came to us and said I love Virtualbox"Justin Cormack
Public beta available: https://www.docker.com/getdocker
Docker for Mac/Windows● No more VirtualBox!
● Improved volume support
● Native networking
More: https://blog.docker.com/2016/06/docker-mac-windows-public-beta/
Docker for AWS● Use existing SSH keys
● Provision infrastructure load balancers
● Configure security groups and virtual networks
More: https://blog.docker.com/2016/06/azure-aws-beta/
Docker StoreMarketplace of open source, free and commercial software content (Private Beta)
• Features trust indicators, security scanning results, user ratings and reviews.
• For Publishers: ability to publish, license and sell content packaged in Docker compatible format
• For Docker Users: improved search UI, content quality and verification
More: https://blog.docker.com/2016/06/docker-store/
● Supports 1.12 (SwarmKit)
● One-click-Deployment with dab-file
● Security Scanning
● Easy updating / rollout
More: https://blog.docker.com/2016/06/docker-datacenter-aws-azure-cloud/
Docker DataCenter for AWS / Azure
Docker and Microsoftby Mark Russinovich, CTO Microsoft Azure
https://twitter.com/docker/status/745305814403932160
HealthcheckNew Healthcheck command in Dockerfile
HEALTHCHECK --interval=5m --timeout=3s --retries 3 \ CMD curl -f http:/localhost || exit 1
Debugging
DEMO
More: https://blog.docker.com/2016/07/live-debugging-docker/
Cool Hacks● Entropy
https://github.com/buildertools/entropy
● Serverless Dockerhttps://medium.com/@chanwit/function-as-a-service-for-docker-609677b9ba3b#.g2ad3hvbm
● Update devices over the airhttps://resin.io/
?Questions
Philipp Garbe
http://garbe.io
@pgarbe
https://github.com/pgarbe