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
76
React on Rails
danguita
0
140
Desarrolla Ruby como un Ninja
danguita
0
200
Other Decks in Technology
See All in Technology
Rustから学ぶ 非同期処理の仕組み
skanehira
1
140
AI開発ツールCreateがAnythingになったよ
tendasato
0
130
2025年になってもまだMySQLが好き
yoku0825
8
4.8k
AWSで始める実践Dagster入門
kitagawaz
1
620
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
230
共有と分離 - Compose Multiplatform "本番導入" の設計指針
error96num
2
580
Practical Agentic AI in Software Engineering
uzyn
0
110
KotlinConf 2025_イベントレポート
sony
1
140
CDK CLIで使ってたあの機能、CDK Toolkit Libraryではどうやるの?
smt7174
4
190
BPaaSにおける人と協働する前提のAIエージェント-AWS登壇資料
kentarofujii
0
140
要件定義・デザインフェーズでもAIを活用して、コミュニケーションの密度を高める
kazukihayase
0
120
DDD集約とサービスコンテキスト境界との関係性
pandayumi
3
280
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
Rails Girls Zürich Keynote
gr2m
95
14k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Bash Introduction
62gerente
615
210k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
How STYLIGHT went responsive
nonsquared
100
5.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
We Have a Design System, Now What?
morganepeng
53
7.8k
Statistics for Hackers
jakevdp
799
220k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
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