Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
69
React on Rails
danguita
0
130
Desarrolla Ruby como un Ninja
danguita
0
190
Other Decks in Technology
See All in Technology
Empowering Customer Decisions with Elasticsearch: From Search to Answer Generation
hinatades
PRO
0
300
Will Positron accelerate us?
lycorptech_jp
PRO
1
120
論理レプリケーションを使ったDB統合
kkato1
0
310
Password-less Journey - パスキーへの移行を見据えたユーザーの準備 @ AXIES 2024
ritou
1
480
GitHub Actions의 다양한 기능 활용하기 - GitHub Universe '24 Recap
outsider
0
510
検証と資産化を形にするプロダクト組織へ/tapple_pmconf2024
corin8823
1
9.4k
12/4(水)のBedrockアプデ速報(re:Invent 2024 Daily re:Cap #3 with AWS Heroes)
minorun365
PRO
2
420
GDGoC開発体験談 - Gemini生成AI活用ハッカソン / GASとFirebaseで挑むパン屋のフードロス解決 -
hotekagi
1
750
pmconf2024_UPSIDER
upsider_tech
0
7.4k
日本全国・都市3D化プロジェクト「PLATEAU」とデータ変換OSS「PLATEAU GIS Converter」の公開
nokonoko1203
4
370
2024 眼科AIコンテスト手法解説スライド 第5回日本眼科AI学会総会
minamikoyasuganka
0
110
深層学習のリペア技術の最新動向と実際 / DNN Repair Techniques for AI Performance Alignment for Safety Requirements
ishikawafyu
0
490
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Bash Introduction
62gerente
608
210k
Designing for humans not robots
tammielis
250
25k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
Making Projects Easy
brettharned
116
5.9k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Code Review Best Practice
trishagee
64
17k
Producing Creativity
orderedlist
PRO
341
39k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.8k
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