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
72
React on Rails
danguita
0
130
Desarrolla Ruby como un Ninja
danguita
0
190
Other Decks in Technology
See All in Technology
SFTPコンテナからファイルをダウンロードする
dip
0
390
DB 醬,嗨!哪泥嘎斯基?
line_developers_tw
PRO
0
220
「伝える」を加速させるCursor術
naomix
0
640
「どこにある?」の解決。生成AI(RAG)で効率化するガバメントクラウド運用
toru_kubota
2
440
“プロダクトを好きになれるか“も QAエンジニア転職の大事な判断基準だと思ったの
tomodakengo
0
140
RubyOnRailsOnDevin+α / DevinMeetupJapan#2
ginkouno
0
460
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
48
28k
IAMのマニアックな話 2025を執筆して、 見えてきたAWSアカウント管理の現在
nrinetcom
PRO
4
590
産業機械をElixirで制御する
kikuyuta
0
170
DenoとJSRで実現する最速MCPサーバー開発記 / Building MCP Servers at Lightning Speed with Deno and JSR
yamanoku
1
100
"SaaS is Dead" は本当か!? 生成AI時代の医療 Vertical SaaS のリアル
kakehashi
PRO
3
220
讓測試不再 BB! 從 BDD 到 CI/CD, 不靠人力也能 MVP
line_developers_tw
PRO
0
230
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
43
2.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
480
It's Worth the Effort
3n
184
28k
Faster Mobile Websites
deanohume
307
31k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
The Invisible Side of Design
smashingmag
299
51k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
910
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