Top Banner
DockerCon 2016 Recap
32

DockerCon 2016 Seattle Recap

Jan 07, 2017

Download

Internet

Philipp Garbe
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: DockerCon 2016 Seattle Recap

DockerCon 2016 Recap

Page 2: DockerCon 2016 Seattle Recap

Philipp Garbe● Husband● Father● AutoScouty (almost 7 years)● Former MS-Fanboy● Now Docker-Fanboy ;)

@pgarbe

Page 3: DockerCon 2016 Seattle Recap

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

Page 4: DockerCon 2016 Seattle Recap

Day 0

Page 5: DockerCon 2016 Seattle Recap

http://container.training/

https://github.com/jpetazzo/orchestration-workshop

Advanced Orchestration Workshop

Page 6: DockerCon 2016 Seattle Recap

Day I

Page 7: DockerCon 2016 Seattle Recap

● Docker 1.12 (release candidate)

● Docker for AWS / Azure (private beta)

● Docker for Mac / Windows (public beta)

● Distributed Application Bundle (experimental)

Day I

Page 8: DockerCon 2016 Seattle Recap

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

Page 9: DockerCon 2016 Seattle Recap

Raft explained: http://thesecretlivesofdata.com/raft/

Page 10: DockerCon 2016 Seattle Recap

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

Page 11: DockerCon 2016 Seattle Recap

● Desired state reconciliation

● Scaling

● Rolling updates

● Advanced scheduling

● Application-specified health checks

● Rescheduling on node failure

Docker 1.12: Service API

Page 12: DockerCon 2016 Seattle Recap

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

Page 13: DockerCon 2016 Seattle Recap

DEMO

Page 14: DockerCon 2016 Seattle Recap

Demo● Create a Swarm cluster (1 Manager, 2 Workers)● Deploy an app (using Service command)● Scale-up● Rolling update● Kill “container”● Kill “worker”

Page 15: DockerCon 2016 Seattle Recap

"Nobody cares about containers. It’s the application that matters!” Solomon Hykes

Experimental: http://www.docker.com/dab

Distributed Application Bundle

Page 16: DockerCon 2016 Seattle Recap

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/

Page 17: DockerCon 2016 Seattle Recap

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

Page 18: DockerCon 2016 Seattle Recap
Page 19: DockerCon 2016 Seattle Recap
Page 20: DockerCon 2016 Seattle Recap

Docker for Mac/Windows● No more VirtualBox!

● Improved volume support

● Native networking

More: https://blog.docker.com/2016/06/docker-mac-windows-public-beta/

Page 21: DockerCon 2016 Seattle Recap

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/

Page 22: DockerCon 2016 Seattle Recap

DEMO

Page 23: DockerCon 2016 Seattle Recap

Day II

Page 24: DockerCon 2016 Seattle Recap

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/

Page 25: DockerCon 2016 Seattle Recap

● 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

Page 26: DockerCon 2016 Seattle Recap

My Highlights

Page 27: DockerCon 2016 Seattle Recap

Docker and Microsoftby Mark Russinovich, CTO Microsoft Azure

https://twitter.com/docker/status/745305814403932160

Page 28: DockerCon 2016 Seattle Recap

HealthcheckNew Healthcheck command in Dockerfile

HEALTHCHECK --interval=5m --timeout=3s --retries 3 \ CMD curl -f http:/localhost || exit 1

Page 29: DockerCon 2016 Seattle Recap

Drivers / Plugins / Public API

Page 30: DockerCon 2016 Seattle Recap

Debugging

DEMO

More: https://blog.docker.com/2016/07/live-debugging-docker/