a skeptic's guide to docker
TRANSCRIPT
Presenter Name, Title and or Date
A Skeptic’s Guide to Docker
Tori Wieldt, Developer Advocate, New Relic
@ToriWieldtV2: Infrastructure
2Confidential ©2008-15 New Relic, Inc. All rights reserved.
New Relic’s JourneyChallenges with Docker
BasicsDocker is NotDocker in Operation
What’s Happening With Your Containers?
AGENDA
Ruby Frontend + Java Backend
1) The Ruby Monolith
2) The Duolith
3) Services Architecture200+ ServicesDocker in Prod 2014
4
• Based on Selenium
• Each script runs in its own container
• Performance
• Security
A crash test dummyfor your software.
5
Docker is a Moving Target
Only the BOLD run the current version
Boot2Docker/ Docker ToolBox/ Docker for Macblog The Modern Developer Workstation on MacOS with Docker
Docs are Written for Greenfield development
No Runbook for Migrating existing apps
Noisy Neighbors
Docker Fork by Red Hat?
CHALLENGES
A Cloud Platform (AWS, OpenStack) Configuration Management (Chef, Puppet) Testing (Vagrant) Deployment Tool (pre-Swarm)
Docker is Not…
New Skills and Tools For Ops Library of Base Images Solid Process for Building and Shipping Good Internal Docs for Devs
For Devs Learn the Tools Let Go of the Notion of a Large and Persistent Filesystem Make your code multithreaded Take Ownership of the App’s Dependencies
What’s New?
8Confidential ©2008-15 New Relic, Inc. All rights reserved.
How Do You Know What’s Happening With Your
Containers?
9Confidential ©2008-15 New Relic, Inc. All rights reserved.
Docker Stats Command & Docker API
Looking At Containers
Complete visibility across your dynamic infrastructureKey host health metrics physical memory, Disk I/O utilization and capacity
Track container performance by image version other metadata
INFRASTRUCTURE
INFRASTRUCTURE“Which app uses the most resources?”
Processes, Grouped by Container Image
INFRASTRUCTURE“What’s Happening Inside a Container?”
Learn More
“Hello World” Tutorial at Docker.com
Docker In Production book NewRelic.com/docker
Docker for Java Tutorial github.com/docker/community/tree/master/tutorials/java
NR Infographic: The Life and Times of a Docker Container
Thank YouTori [email protected]@ToriWieldt
Confidential ©2008-15 New Relic, Inc. All rights reserved.