SlideShare a Scribd company logo
M A R R I A G E W I T H D O C K E R
D U S A N K A T O N A
Since
01/2014
W H O A M I ?
• team lead & scrum master in GoodData
• agile enthusiast
• docker enthusiast
• keen traveller
S E A R C H I N G F O R A P E R F E C T W O M A N
• run arbitrary (ETL) ruby scripts on the platform
• isolate runs - from host & other scripts
T H E O T H E R
W O M A N
• Openshift
• too heavyweight for us
• Amazon/Google
containers service
• we don’t want to move
data between Rackspace
and other cloud
providers
H O N E Y M O O N
• docker 0.7.6
• we don’t need to use plain
LXC (call scripts with root)
• use docker REST API from
our application
• create one image with
RubySDK
• memory & CPU limits per
container
S O B E R I N G U P
• setup private docker registry
• how do we limit disk usage
• how do we limit log size
produced by scripts
• how do we limit access to
internal network
• how do we monitor containers
• random kernel panics (2.6.32
kernel)
• disk usage -> LXC
hooks create loop
device and mount it to
the container
• log size -> container
writes to named pipe,
application reads it and
limit the size
• access to internal
network -> turn off
iptables on docker
deamon, use our own
T O U G H T I M E S
• network problems -
20-30% scripts failed due to
lost packets
• unstable client library
(docker-java) - threading
issues
• high load/fork bombs -
resolved in docker 1.6 with
ulimit per container (only
for native driver :( )
• allow users to run multiple
versions on our server
• easy rollout/rollback
• in production since January
2014 (for limited audience)
• ~1000 containers spawned a
day
• some fixes backported to
2.6.32 kernel -> no more
kernel panics
R E L AT I O N S H I P
F I N A L W O R D
• Docker is perfectly usable for development & testing
infrastructure
• be cautious when using docker in production
• have a bunch of OPS engineers at your hand

More Related Content

PPTX
Containers in the Cloud
PDF
Leverage LXC/LXD with Kubernetes
PDF
Ansible 2.0 - How to use Ansible to automate your applications in AWS.
PDF
CoreOS Overview
PDF
Openstack overview thomas-goirand
ODP
Auto infra with_foreman_katello
PDF
Docker Fundamentals
PDF
Ceph on Windows
Containers in the Cloud
Leverage LXC/LXD with Kubernetes
Ansible 2.0 - How to use Ansible to automate your applications in AWS.
CoreOS Overview
Openstack overview thomas-goirand
Auto infra with_foreman_katello
Docker Fundamentals
Ceph on Windows

What's hot (20)

PDF
Live migrating a container: pros, cons and gotchas
PPT
Neutrondev ppt
ODP
Gluster d thread_synchronization_using_urcu_lca2016
PDF
Scaling Docker Registry
PDF
Ceph Block Devices: A Deep Dive
PPTX
Containers and HPC
PDF
Ceph RBD Update - June 2021
PPTX
Kubernetes and OpenStack at Scale
PDF
Breaking the RpiDocker challenge
PDF
Kolla project onboarding - OpenStack Summit Berlin 2018
ODP
Persistent Storage in Openshift using GlusterFS
PPTX
Building CLI Applications with Golang
PDF
Ceph Month 2021: RADOS Update
ODP
GlusterFS Containers
PDF
Project Moby
PDF
Performant and Resilient Storage: The Open Source & Linux Way
PDF
Performance optimization for all flash based on aarch64 v2.0
PDF
2014 11-05 hpcac-kniep_christian_dockermpi
ODP
Lcna example-2012
Live migrating a container: pros, cons and gotchas
Neutrondev ppt
Gluster d thread_synchronization_using_urcu_lca2016
Scaling Docker Registry
Ceph Block Devices: A Deep Dive
Containers and HPC
Ceph RBD Update - June 2021
Kubernetes and OpenStack at Scale
Breaking the RpiDocker challenge
Kolla project onboarding - OpenStack Summit Berlin 2018
Persistent Storage in Openshift using GlusterFS
Building CLI Applications with Golang
Ceph Month 2021: RADOS Update
GlusterFS Containers
Project Moby
Performant and Resilient Storage: The Open Source & Linux Way
Performance optimization for all flash based on aarch64 v2.0
2014 11-05 hpcac-kniep_christian_dockermpi
Lcna example-2012
Ad

Similar to Marriage with docker (20)

PPTX
Real World Experience of Running Docker in Development and Production
PDF
Containerzation with Docker
PDF
codemotion-docker-2014
PDF
Docker introduction
PDF
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
PDF
Docker Up and Running Introduction
PPTX
Docker - A curtain raiser to the Container world
PDF
Présentation de Docker
PDF
Docker_AGH_v0.1.3
PPTX
How to be successful running Docker in Production
PDF
Accelerate your software development with Docker
PPTX
Accelerate your development with Docker
PDF
Scale Big With Docker — Moboom 2014
PDF
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
PPTX
Dockercon EU 2015
PPTX
Dockerizing a Symfony2 application
PDF
LXC to Docker Via Continuous Delivery
PDF
Docker in Production: Reality, Not Hype
PDF
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
PPTX
Docker
Real World Experience of Running Docker in Development and Production
Containerzation with Docker
codemotion-docker-2014
Docker introduction
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Docker Up and Running Introduction
Docker - A curtain raiser to the Container world
Présentation de Docker
Docker_AGH_v0.1.3
How to be successful running Docker in Production
Accelerate your software development with Docker
Accelerate your development with Docker
Scale Big With Docker — Moboom 2014
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
Dockercon EU 2015
Dockerizing a Symfony2 application
LXC to Docker Via Continuous Delivery
Docker in Production: Reality, Not Hype
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
Docker
Ad

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Big Data Technologies - Introduction.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Electronic commerce courselecture one. Pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Encapsulation theory and applications.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Approach and Philosophy of On baking technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Spectral efficient network and resource selection model in 5G networks
Big Data Technologies - Introduction.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
MYSQL Presentation for SQL database connectivity
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Electronic commerce courselecture one. Pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Encapsulation theory and applications.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Approach and Philosophy of On baking technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
CIFDAQ's Market Insight: SEC Turns Pro Crypto
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Network Security Unit 5.pdf for BCA BBA.
Encapsulation_ Review paper, used for researhc scholars
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

Marriage with docker

  • 1. M A R R I A G E W I T H D O C K E R D U S A N K A T O N A Since 01/2014
  • 2. W H O A M I ? • team lead & scrum master in GoodData • agile enthusiast • docker enthusiast • keen traveller
  • 3. S E A R C H I N G F O R A P E R F E C T W O M A N • run arbitrary (ETL) ruby scripts on the platform • isolate runs - from host & other scripts
  • 4. T H E O T H E R W O M A N • Openshift • too heavyweight for us • Amazon/Google containers service • we don’t want to move data between Rackspace and other cloud providers
  • 5. H O N E Y M O O N • docker 0.7.6 • we don’t need to use plain LXC (call scripts with root) • use docker REST API from our application • create one image with RubySDK • memory & CPU limits per container
  • 6. S O B E R I N G U P • setup private docker registry • how do we limit disk usage • how do we limit log size produced by scripts • how do we limit access to internal network • how do we monitor containers • random kernel panics (2.6.32 kernel)
  • 7. • disk usage -> LXC hooks create loop device and mount it to the container • log size -> container writes to named pipe, application reads it and limit the size • access to internal network -> turn off iptables on docker deamon, use our own
  • 8. T O U G H T I M E S • network problems - 20-30% scripts failed due to lost packets • unstable client library (docker-java) - threading issues • high load/fork bombs - resolved in docker 1.6 with ulimit per container (only for native driver :( )
  • 9. • allow users to run multiple versions on our server • easy rollout/rollback • in production since January 2014 (for limited audience) • ~1000 containers spawned a day • some fixes backported to 2.6.32 kernel -> no more kernel panics R E L AT I O N S H I P
  • 10. F I N A L W O R D • Docker is perfectly usable for development & testing infrastructure • be cautious when using docker in production • have a bunch of OPS engineers at your hand