SlideShare a Scribd company logo
Docker from a team
perspective
Edwin Vlieg - MoneyBird
€
Ruby Postgres
OSX
UnicornProject
Ruby Postgres
OSX
Ruby Postgres
OSX
Ruby Postgres
Linux
UnicornProject UnicornProject UnicornProject
Ruby Postgres
OSX
Ruby Postgres
OSX
Ruby Postgres
Linux
UnicornProject UnicornProject UnicornProject
We need
GraphicsMagick
Ruby Postgres
OSX
Ruby Postgres
OSX
Ruby Postgres
Linux
UnicornProject UnicornProject UnicornProject
You need
GraphicsMagick!
GM
OSX
Ruby Postgres
OSX Linux
UnicornProject UnicornProject UnicornProject
You need
GraphicsMagick!
GMRuby Postgres GM Ruby Postgres GM
30 minutes 15 minutes
Development
• Always changing dependencies in projects
• Keeping up with changes takes away
productivity
• Differences as small as a different patch level or
different compile time argument can mean hours
of debugging.
After development
• Continuous Integration
• Staging environment
• Production environment
Ruby 2.1 Postgres
OS
UnicornProject
Ruby 2.0 Redis
Memcache
ElasticSearch
StorageProject
Ruby 2.1 Postgres GM
GhostScript
PrinceXML
We tried
• Automated provisioning of environments
• Vagrant boxes with dependencies
OSX
Ruby Postgres
OSX Linux
UnicornProject UnicornProject UnicornProject
GMRuby Postgres GM Ruby Postgres GM
Image
Image
“A Docker image is a read-only template.”
StorageProject
Ingredients
Ubuntu
OpenSSL
Ruby
Bundler
GraphicsMagick
PrinceXML
Source code
Image
StorageProject
Dockerfile
FROM ubuntu
RUN apt-get install openssl
RUN apt-get install ruby
RUN gem install bundler
RUN apt-get install gm
RUN princexml/install.sh
ADD ./src/storage_project
Image
• Create image from Dockerfile
• Run image to create a container running the
dependencies and source code
• Result is the same on every host computer able
to run a Docker host (Linux).
Ruby Postgres
OSX
Ruby Postgres
OSX
Ruby Postgres
Linux
UnicornProject UnicornProject UnicornProject
ADD apt-get install
gm
OSX
Ruby Postgres
OSX Linux
UnicornProject UnicornProject UnicornProject
Pull new image!
GMRuby Postgres GM Ruby Postgres GM
30 seconds 30 seconds
Docker vs VMs
App
A
Hypervisor (Type 2)
Host OS
Server
Guest
OS
Bins/
Libs
App
A’
Guest
OS
Bins/
Libs
App
B
Guest
OS
Bins/
Libs
VM
Guest
OS
Guest
OS
AppA
Docker
Host OS
Server
AppA
Bins/Libs
AppB
AppB
AppB
AppB
Container
Bins/Libs
Backing services
• We try to serve only 1 service in an image
• Backing services like Postgres, Redis,
ElasticSearch, Memcached have their own
images
Conclusion
• Docker makes dependency management and
cooperation on projects way easier!
• Less downtime during development and in
production due to clear definition of required
environment.

More Related Content

PDF
Docker at MoneyBird
PDF
CI with Gitlab & Docker
PPTX
Run automated tests in Docker
PDF
Using GitLab CI
PPTX
DevOps Practices @Pipedrive
PPTX
Building CI/CD Pipelines with Jenkins and Kubernetes
PDF
FOSDEM 2017: GitLab CI
PDF
Living with microservices at Pipedrive
Docker at MoneyBird
CI with Gitlab & Docker
Run automated tests in Docker
Using GitLab CI
DevOps Practices @Pipedrive
Building CI/CD Pipelines with Jenkins and Kubernetes
FOSDEM 2017: GitLab CI
Living with microservices at Pipedrive

What's hot (20)

PDF
Webinar - Unbox GitLab CI/CD
PDF
Docker for tooling
PDF
Gitlab ci e kubernetes, build test and deploy your projects like a pro
PDF
Libnetwork updates
PDF
Docker?!?! But I'm a SysAdmin
PDF
Docker for local development
PPTX
Exploring Next Generation Buildpacks - Anand Rao & Scott Deeg
PDF
Vincit Teatime 2015.2 - Niko Kurtti: SaaSiin pa(i)nostusta
PDF
Tales of Training: Scaling CodeLabs with Swarm Mode and Docker-Compose
PPTX
Docker for dummies
PDF
Docker for dev
PPTX
from docker run to docker compose (Webelement #36)
PDF
The Self-Service Developer - GOTOCon CPH
PDF
Node.js Rocks in Docker for Dev and Ops
PPTX
Kubernetes CRI containerd integration by Lantao Liu (Google)
PPTX
Containers not just for production nov8
PDF
Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies
PDF
Deploy Multinode GitLab Runner in openSUSE 15.1 Instances with Ansible Automa...
PPTX
Docker presentation
PPT
Docker ata glance
Webinar - Unbox GitLab CI/CD
Docker for tooling
Gitlab ci e kubernetes, build test and deploy your projects like a pro
Libnetwork updates
Docker?!?! But I'm a SysAdmin
Docker for local development
Exploring Next Generation Buildpacks - Anand Rao & Scott Deeg
Vincit Teatime 2015.2 - Niko Kurtti: SaaSiin pa(i)nostusta
Tales of Training: Scaling CodeLabs with Swarm Mode and Docker-Compose
Docker for dummies
Docker for dev
from docker run to docker compose (Webelement #36)
The Self-Service Developer - GOTOCon CPH
Node.js Rocks in Docker for Dev and Ops
Kubernetes CRI containerd integration by Lantao Liu (Google)
Containers not just for production nov8
Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies
Deploy Multinode GitLab Runner in openSUSE 15.1 Instances with Ansible Automa...
Docker presentation
Docker ata glance
Ad

Similar to Docker from a team perspective (20)

PPTX
Ruby on Rails and Docker - Why should I care?
PDF
[@NaukriEngineering] Docker 101
PDF
Introducción a contenedores Docker
PPTX
The Tale of a Docker-based Continuous Delivery Pipeline by Rafe Colton (ModCl...
PDF
Dockercon EU 2014
PPTX
Docker and Microservice
PDF
Rails Applications with Docker
ODP
Ruby and Docker on Rails
PDF
Docker For Ruby On Rails : Meaning, Benefits, & Use Cases
PPTX
Getting Started with Docker
PPTX
Containerization using docker and its applications
PPTX
Containerization using docker and its applications
PPTX
Docker Introduction
PDF
Faster and Easier Software Development using Docker Platform
PDF
DockerCon SF 2015: Docker in the New York Times Newsroom
PDF
Introduction to Docker
PDF
Intro to Docker for (Rails) Developers
PDF
Docker for the Rubyist
PDF
Rails in docker
PPTX
Dockerizing Ruby Applications - The Best Practices
Ruby on Rails and Docker - Why should I care?
[@NaukriEngineering] Docker 101
Introducción a contenedores Docker
The Tale of a Docker-based Continuous Delivery Pipeline by Rafe Colton (ModCl...
Dockercon EU 2014
Docker and Microservice
Rails Applications with Docker
Ruby and Docker on Rails
Docker For Ruby On Rails : Meaning, Benefits, & Use Cases
Getting Started with Docker
Containerization using docker and its applications
Containerization using docker and its applications
Docker Introduction
Faster and Easier Software Development using Docker Platform
DockerCon SF 2015: Docker in the New York Times Newsroom
Introduction to Docker
Intro to Docker for (Rails) Developers
Docker for the Rubyist
Rails in docker
Dockerizing Ruby Applications - The Best Practices
Ad

More from Edwin Vlieg (6)

PDF
From Idea to Business
KEY
Advanced Testing on RubyEnRails '09
KEY
MoneyBird Gouden Factuur 2009
PDF
Object Oriented Programming for web applications
PPT
Frontend ontwikkeling
PDF
MoneyBird - The Rails Side
From Idea to Business
Advanced Testing on RubyEnRails '09
MoneyBird Gouden Factuur 2009
Object Oriented Programming for web applications
Frontend ontwikkeling
MoneyBird - The Rails Side

Recently uploaded (20)

PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
L1 - Introduction to python Backend.pptx
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Understanding Forklifts - TECH EHS Solution
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
medical staffing services at VALiNTRY
PPTX
Transform Your Business with a Software ERP System
PDF
top salesforce developer skills in 2025.pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
ai tools demonstartion for schools and inter college
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Odoo Companies in India – Driving Business Transformation.pdf
L1 - Introduction to python Backend.pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Understanding Forklifts - TECH EHS Solution
How Creative Agencies Leverage Project Management Software.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Upgrade and Innovation Strategies for SAP ERP Customers
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
medical staffing services at VALiNTRY
Transform Your Business with a Software ERP System
top salesforce developer skills in 2025.pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
How to Choose the Right IT Partner for Your Business in Malaysia
PTS Company Brochure 2025 (1).pdf.......
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
ai tools demonstartion for schools and inter college
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool

Docker from a team perspective