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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
David Anguita
January 29, 2016
Technology
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Docker 101 Rubyist Edition
Sample code at
https://github.com/danguita/talks/tree/master/docker-101-rubyist-edition
David Anguita
January 29, 2016
More Decks by David Anguita
See All by David Anguita
ELM 101
danguita
0
91
React on Rails
danguita
0
150
Desarrolla Ruby como un Ninja
danguita
0
210
Other Decks in Technology
See All in Technology
Terraform 101 (初心者向け) 資料
shuadachi
0
160
AIペネトレーションテスト・ セキュリティ検証「AgenticSec」紹介資料
laysakura
2
7.9k
Why is RC4 still being used?
tamaiyutaro
0
270
Baseline対応のDOMの型定義を作った
uhyo
2
550
AIをフル活用してオンコール機能のプロトタイプを2日で作った話 / Building an AI-Powered On-Call Prototype in Just Two Days
nari_ex
0
160
product engineering with qa
nealle
0
140
From Prompt Engineering to Loop Engineering
shibuiwilliam
1
320
デジタル・デザイン構想 by Sayaka Ishizuka
y150saya
0
170
製造現場での生成AIの活用、およびエージェントAIの実装のあり方、AVEVAの取り組み
iotcomjpadmin
0
210
はてなのサービス基盤を支える Kubernetes《足腰》
masayoshimaezawa
0
410
知見・人・API・DB・予算 ─ ナイナイ尽くしだった人事データ整備 with dbt、5年間の学び
ken6377
1
130
AI Agentをシステムに組み込む前にゆるく向き合ってみる
hayama17
0
190
Featured
See All Featured
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
290
Raft: Consensus for Rubyists
vanstee
141
7.6k
sira's awesome portfolio website redesign presentation
elsirapls
0
290
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.6k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
170
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
210
Being A Developer After 40
akosma
91
590k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
The Limits of Empathy - UXLibs8
cassininazir
1
380
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
250
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
150
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