Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Docker 101 Rubyist Edition
Search
David Anguita
January 29, 2016
Technology
0
120
Docker 101 Rubyist Edition
Sample code at
https://github.com/danguita/talks/tree/master/docker-101-rubyist-edition
David Anguita
January 29, 2016
Tweet
Share
More Decks by David Anguita
See All by David Anguita
ELM 101
danguita
0
71
React on Rails
danguita
0
130
Desarrolla Ruby como un Ninja
danguita
0
190
Other Decks in Technology
See All in Technology
AIコーディングの最前線 〜活用のコツと課題〜
pharma_x_tech
4
2.2k
今日からはじめるプラットフォームエンジニアリング
jacopen
7
1.4k
Рекомендации с нуля: как мы в Lamoda превратили главную страницу в ключевую точку входа для персонализированного шоппинга. Данил Комаров, Data Scientist, Lamoda Tech
lamodatech
0
770
DETR手法の変遷と最新動向(CVPR2025)
tenten0727
2
1.4k
彩の国で始めよう。おっさんエンジニアから共有したい、当たり前のことを当たり前にする技術
otsuki
0
150
新卒エンジニアがCICDをモダナイズしてみた話
akashi_sn
2
250
ビジネスとデザインとエンジニアリングを繋ぐために 一人のエンジニアは何ができるか / What can a single engineer do to connect business, design, and engineering?
kaminashi
1
210
ブラウザのレガシー・独自機能を愛でる-Firefoxの脆弱性4選- / Browser Crash Club #1
masatokinugawa
1
500
AI Agentを「期待通り」に動かすために:設計アプローチの模索と現在地
kworkdev
PRO
2
470
Notion x ポストモーテムで広げる組織の学び / Notion x Postmortem
isaoshimizu
1
120
Aspire をカスタマイズしよう & Aspire 9.2
nenonaninu
0
110
Spring Bootで実装とインフラをこれでもかと分離するための試み
shintanimoto
7
870
Featured
See All Featured
Statistics for Hackers
jakevdp
798
220k
Optimising Largest Contentful Paint
csswizardry
36
3.2k
Done Done
chrislema
183
16k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
StorybookのUI Testing Handbookを読んだ
zakiyama
29
5.7k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
13
680
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.6k
Adopting Sorbet at Scale
ufuk
76
9.3k
Docker and Python
trallard
44
3.3k
Being A Developer After 40
akosma
91
590k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
9
760
Transcript
DOCKER 101 David Anguita <3 CiudadReal.rb
Hi, I'm @danguita
Let's talk about software containers
"It works on my machine"
Provides a widely adopted and easy-to-use interface to lightweight Linux
Containers Why Docker?
Virtual Machine model vs Docker Engine model Why Docker? Source:
http://docker.com
Minimal overhead
Daemon • Manages containers • Exposes a REST-ish API Client
$ docker ps $ docker images $ docker run ... Docker Engine Docker Machine
Image vs Container $ docker images $ docker build $
docker pull $ docker push $ docker commit $ docker rmi $ docker ps $ docker run $ docker start $ docker stop $ docker rm Immutable, snapshot of a container Running instance of an image Docker Registry
MY FIRST CONTAINER
Gluing things together
Docker Compose $ docker-compose up $ docker-compose ps web $
docker-compose logs web $ docker-compose scale web=5 ... • Multi-container set up • Wraps Docker CLI • Image building • Links • Volumes • Ports • Scaling
api: image: ... command: ... environment: ... volumes: ... links:
... ports: ... frontend: ... sidekiq: ... postgres: ... elasticsearch: ... memcached: ... redis: ... haproxy: ... docker-compose.yml
MOAR CONTAINERS!
Real-world advantages • Easy Continuous Integration / Delivery • Consistency
across environments • Portability • Isolated scalability • Rapid deployment • Instant (micro-)service oriented architecture • Clustering
Legos for cloud computing
• Docker Swarm • Kubernetes Clustering Tooling Platforms • Amazon
EC2 Container service • Google Container Engine
This is just the beginning
Thank you
Q&A
CiudadReal.rb, January 2016