Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 +...
Transcript of Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 +...
![Page 1: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/1.jpg)
Docker Birthday #3
![Page 2: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/2.jpg)
Welcome to Docker Birthday #3● 120 Docker Birthday events (list available at Docker.Party)● 7000+ RSVPs● 600 mentors● Big thanks to our global partners:
2
![Page 3: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/3.jpg)
Travel Planet 24
![Page 4: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/4.jpg)
e-food.gr
![Page 5: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/5.jpg)
The Cube Athens
![Page 6: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/6.jpg)
SourceLair
![Page 7: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/7.jpg)
Remember to tweet photos with #dockerbday
7
![Page 8: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/8.jpg)
Agenda
1. Introduction to the Docker Ecosystem
2. Learning Docker with Birthday App Training
3. Birthday App Challenge
4. Cake and Socializing
![Page 9: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/9.jpg)
Introduction to the Docker Ecosystem
![Page 10: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/10.jpg)
10
Open Source Project• 2B+ Docker Image Downloads• 2000+ contributors• 40K+ GitHub stars• 200K+ Dockerized apps• 240 Meetups in 70 countries• 95K Meetup members
Containers as a Service provider• Integrated platform for dev and IT• Commercial technical support
Docker project sponsor• Primary sponsor of Docker project• Supports project maintainers
Who Are We
The Docker Project Docker Inc
![Page 11: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/11.jpg)
The Docker ecosystem
Dev Tools
Official Repositories
Operating Systems
Big Data
Service Discovery
Build / Continuous Integration
Configuration ManagementConsulting &Training
Management
Storage
Clustering & Scheduling
Networking
Infrastructure & Service Providers
Storage
Security
Monitoring & Logging
11
![Page 12: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/12.jpg)
Diversity Scholarship Program
The purpose of the DockerCon Diversity Scholarship Program is to give members of underrepresented groups the opportunity to attend DockerCon without the barrier of financial strain.
How to apply: Step 1: Complete the Docker Birthday #3 trainingStep 2: Fill out the online application
What does the scholarship include? ● Full DockerCon Conference Pass ● Round-trip airfare + hotel accommodations for 3 nights ● 1:1 mentorship session with a Docker employee
Application Deadline: April 15, 2016 at 5:00PM PST
For more information and to apply, visit our website: dockercon.com/scholarship
![Page 13: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/13.jpg)
How did we get there ?
![Page 14: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/14.jpg)
Docker in 2013A lightweight runtime and robust tooling to build and run virtual containers on Linux to create the operating environment for your distributed applications.
![Page 15: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/15.jpg)
Docker Basics
Docker ImageThe basis of a Docker container
Docker ContainerThe standard unit in which the application service resides
Docker Engine Creates, ships and runs Docker containers deployable on physical or virtual host locally, in a datacenter or cloud service provider
Docker RegistryOn-premises registry for image storing and collaboration
![Page 16: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/16.jpg)
Applications are changing
16
Loosely Coupled Services
Many Small Servers
~2000 Today
Monolithic
Big Servers
Slow changing
Rapidly updated
![Page 17: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/17.jpg)
The challenge: new matrix from hell
17
Virtual machines
Server Public Cloud
Disaster Recovery
Developer Laptop
Server Cluster
Data Center
Static Website
Web Front EndBackground Workers
User DB Analytics DB
Queue API Endpoint
Development Test & QA Production Scale Out
![Page 18: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/18.jpg)
Solution: Docker containers
18
• Packages up software binaries and dependencies
• Isolates software from each other
• Container is a standard format
• Easily portable across environment
• Allows ecosystem to develop around its standard
Container
![Page 19: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/19.jpg)
Solution: Docker containers
19
Static Website
Web Front End
Background Workers
User DB
Analytics DB
QueueAPI Endpoint
Any App Anywhere
Composable Dynamic Portable
![Page 20: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/20.jpg)
Why do Developers Care?
• Build once…(finally) run anywhere
• A clean, safe, hygienic and portable runtime environment for your app.• No worries about missing dependencies, packages and other pain points during subsequent
deployments.• Run each app in its own isolated container, so you can run various versions of libraries and
other dependencies for each app without worrying• Automate testing, integration, packaging…anything you can script • Reduce/eliminate concerns about compatibility on different platforms, either your own or
your customers. • Cheap, zero-penalty containers to deploy services? A VM without the overhead of a VM?
Instant replay and reset of image snapshots? That’s the power of Docker
![Page 21: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/21.jpg)
Why do Ops Care?
• Configure once…run anything
• Make the entire lifecycle more efficient, consistent, and repeatable• Increase the quality of code produced by developers. • Eliminate inconsistencies between development, test, production, and customer environments• Support segregation of duties• Significantly improves the speed and reliability of continuous deployment and continuous
integration systems• Because the containers are so lightweight, address significant performance, costs, deployment,
and portability issues normally associated with VMs
![Page 22: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/22.jpg)
Containers vs. VMs
![Page 23: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/23.jpg)
Docker in 2016
A Containers as a Service (CaaS) platform which enables an IT Ops managed and secure application environment (infrastructure and content) for developer self service to build and deploy applications
![Page 24: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/24.jpg)
Docker Containers as a Service Platform
24
Source Code Management
CI / CD
Networking
Monitoring
Volumes
Service Discovery
Operating Systems
Content
Configuration Management
Infrastructure
Public Cloud Virtualization Physical / Converged Infrastructure
Logging
Storage
Toolbox
Management
Security
Orchestration
Container RuntimeRegistry Service
![Page 25: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/25.jpg)
Containers as a Service (CaaS)Developers IT Operations
BUILDDevelopment Environments
SHIPSecure Content & Collaboration
RUNDeploy, Manage, Scale
![Page 26: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/26.jpg)
Docker CaaS Solutions
26
Docker Datacenter
An on-premises / VPC CaaS platform that
integrates with enterprise infrastructure to build, ship
and run distributed applications anywhere.
Docker Cloud
A SaaS CaaS service to build, ship and run
distributed applications anywhere
![Page 27: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/27.jpg)
Enabling the needs of developers and IT
27
Manage and secure at scale
Frictionless movement
Innovation at speed
+ +Agility Portability Control
![Page 28: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/28.jpg)
Use cases enabled by Docker CaaS
28
ContainerizationMicroservices
CI/CDDevOps
Self Service
Cloud DataApps
Cloud MigrationHybrid CloudMulti-Cloud
Data Processing Pipelines
![Page 29: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/29.jpg)
29
Birthday App Training
![Page 30: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/30.jpg)
Docker ToolboxEverything you need to get started with Docker
• Toolbox includes:– Kitematic– Docker CLI– Docker Machine– Docker Swarm– Docker Compose
30
![Page 31: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/31.jpg)
Birthday App TrainingParticipants in the training will go through the steps involved in running and developing a simple voting app
from a fresh computer using Docker Toolbox. This simple app will include:
● A Python webapp which lets you vote between several options
● A Redis queue which collects new votes
● A Java worker which consumes votes and stores them in…
● …A Postgres database backed by a Docker volume
● A Node.js webapp showing the results of the voting in real time
All training materials available at: https://github.com/docker/docker-birthday-3
There is a self-paced beginners’ tutorial for attendees to learn Docker basics as they build and deploy this app locally and push their Docker images to Docker Hub. Experienced Docker users will serve as mentors to help beginners successfully complete the training.
![Page 32: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/32.jpg)
Birthday App Challenge
![Page 33: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/33.jpg)
Birthday App Challenge Ideas
For Devs
● Rewrite or add features to the following apps:
○ Python webapp which lets you vote between two options○ Java worker which consumes votes and stores them○ Node.js webapp which shows the results of the voting in real time
● Write something to generate random votes so they can load test their app
For Ops
● Bring Docker Swarm in the mix● Add Interlock: https://github.com/ehazlett/interlock● Scale out the worker nodes using Docker Cloud
![Page 34: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/34.jpg)
Birthday App Challenge Submission & PrizesSubmission guidelines:
● We are looking for cool hacks based on what you learned today! Be creative, make sure it’s useful and most importantly, have fun!
● Submit at: http://bit.ly/1TLpxuK and submit your PR at github.com/docker/docker-birthday-3 by Monday, March 28th 9am PST.
Prizes:
● Best hack wins a very special Docker Swag package and complimentary pass to DockerCon 2016!
● 2nd and 3rd favorite hacks win an awesome Docker hoodie.
● All of these hacks will be featured in a blog post on blog.docker.com.
![Page 35: Docker Birthday #3 - files.meetup.comfiles.meetup.com/13858262/20160323 - Docker Birthday #3 + Trainin… · Docker Toolbox Everything you need to get started with Docker • Toolbox](https://reader035.fdocuments.us/reader035/viewer/2022062402/5ec5602167ccba06050c0be6/html5/thumbnails/35.jpg)
35
Let’s get started with this Docker Training!
https://github.com/docker/docker-birthday-3/