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
130
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
75
React on Rails
danguita
0
130
Desarrolla Ruby como un Ninja
danguita
0
190
Other Decks in Technology
See All in Technology
東京海上日動におけるセキュアな開発プロセスの取り組み
miyabit
0
200
今日からあなたもGeminiを好きになる
subaruhello
1
660
MCPに潜むセキュリティリスクを考えてみる
milix_m
1
880
From Live Coding to Vibe Coding with Firebase Studio
firebasethailand
1
320
ML Pipelineの開発と運用を OpenTelemetryで繋ぐ @ OpenTelemetry Meetup 2025-07
getty708
0
320
「育てる」サーバーレス 〜チーム開発研修で学んだ、小さく始めて大きく拡張するAWS設計〜
yu_kod
1
190
会社もクラウドも違うけど 通じたコスト削減テクニック/Cost optimization strategies effective regardless of company or cloud provider
aeonpeople
2
380
人と生成AIの協調意思決定/Co‑decision making by people and generative AI
moriyuya
0
180
「手を動かした者だけが世界を変える」ソフトウェア開発だけではない開発者人生
onishi
15
7.6k
増え続ける脆弱性に立ち向かう: 事前対策と優先度づけによる 持続可能な脆弱性管理 / Confronting the Rise of Vulnerabilities: Sustainable Management Through Proactive Measures and Prioritization
nttcom
1
220
新規事業におけるAIリサーチの活用例
ranxxx
0
170
ファインディにおける Dataform ブランチ戦略
hiracky16
0
220
Featured
See All Featured
Designing for humans not robots
tammielis
253
25k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Navigating Team Friction
lara
187
15k
Gamification - CAS2011
davidbonilla
81
5.4k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Practical Orchestrator
shlominoach
189
11k
Why Our Code Smells
bkeepers
PRO
337
57k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
Rails Girls Zürich Keynote
gr2m
95
14k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
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