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: An Introduction
Search
Adam Carlile
May 21, 2015
Technology
0
27
Docker: An Introduction
Adam Carlile
May 21, 2015
Tweet
Share
More Decks by Adam Carlile
See All by Adam Carlile
HTML Primer
adamcarlile
0
51
Other Decks in Technology
See All in Technology
マルチテナントマルチクラスタKubernetesでもUXを損なわない認証認可の勘所
pfn
PRO
0
110
LINEヤフーのウェブアクセシビリティ
lycorptech_jp
PRO
3
210
知識と実践を紡ぐGenAI / Connecting Knowledge and experience with GenAI
aki_moon
2
190
Blazor WASM × Code-first gRPC で始める C# ⼤統⼀理論
sansantech
PRO
1
900
RubyKaigi 2024 - Make Your Own Regex Engine!
makenowjust
1
180
TailwindCSSでUIライブラリを作る際のハマりどころ
shuta13
0
230
Dungeons and Dragons and Rails
joelq
0
260
令和版ソフトウェアエンジニアの情報収集術 PHPカンファレンス香川2024
ysknsid25
4
910
「できる!」を増やすGitHub Copilot活用法 / How to use GitHub Copilot to expand your possibilities
sansan_randd
1
240
Security Hubのセキュリティスコアはどうやって計算されるか
toru_kubota
0
110
データベース05: SQL(2/3) 結合質問
trycycle
0
110
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
12
7.9k
Featured
See All Featured
Designing for humans not robots
tammielis
247
25k
Product Roadmaps are Hard
iamctodd
45
9.8k
Embracing the Ebb and Flow
colly
80
4.2k
Rails Girls Zürich Keynote
gr2m
91
13k
Infographics Made Easy
chrislema
238
18k
Automating Front-end Workflow
addyosmani
1357
200k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Gamification - CAS2011
davidbonilla
77
4.6k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
245
20k
Writing Fast Ruby
sferik
622
60k
Transcript
Docker: An Introduction
Adam Carlile
None
Docker Who?
None
None
Containerisation
Build once, Run anywhere
Application Bins/Libs Docker Image Registry Build Push Dockerfile Source Code
FROM boardiq/ruby:jessie0327 RUN apt-‐get update && apt-‐get install -‐y
imagemagick daemontools RUN cd /tmp \ && wget https://deb.nodesource.com/setup \ && bash setup \ && apt-‐get install -‐y nodejs
Lightweight
Hardware Host OS Hypervisor Guest OS Bins/Libs Application Guest OS
Bins/Libs Application Hardware Host OS Docker Engine Bins/Libs Application Bins/Libs Application
Isolated
Isolated (escape dependency hell)
Why?
Deployment
Capistrano, Ansible GIT, Warbler, Shell Scripts
Capistrano, Ansiable GIT, Warbler, Shell Scripts At 5:00PM Friday!
None
Immutable Architecture
(If it’s broken, throw it away!) Immutable Architecture
Consistent Environment
Consistent Environment (testing, development, production)
How?
Build Docker Image Run tests using built container Push to
Dockerhub Pull from Dockerhub Mark Image as available
NGINX Router Redis Tundra Postgres Cluster Socketplane/Open VSwitch Consul App
1 App 2 Docker Host
NGINX Router Redis Tundra Postgres Cluster Socketplane/Open VSwitch Consul App
1 App 2 Docker Host
NGINX Router Redis Tundra Postgres Cluster Socketplane/Open VSwitch Consul App
1 App 2 Docker Host New App 1
NGINX Router Redis Tundra Postgres Cluster Socketplane/Open VSwitch Consul App
1 App 2 Docker Host New App 1
NGINX Router Redis Tundra Postgres Cluster Socketplane/Open VSwitch Consul App
1 App 2 Docker Host New App 1
NGINX Router Redis Tundra Postgres Cluster Socketplane/Open VSwitch Consul App
1 App 2 Docker Host New App 1
NGINX Router Redis Tundra Postgres Cluster Socketplane/Open VSwitch Consul App
1 App 2 Docker Host New App 1
NGINX Router Redis Tundra Postgres Cluster Socketplane/Open VSwitch Consul App
2 New App 1 Docker Host
Question Time!
Thanks!
Thanks! Beer time?