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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Adam Carlile
May 21, 2015
Technology
0
29
Docker: An Introduction
Adam Carlile
May 21, 2015
Tweet
Share
More Decks by Adam Carlile
See All by Adam Carlile
HTML Primer
adamcarlile
0
54
Other Decks in Technology
See All in Technology
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.4k
配列に見る bash と zsh の違い
kazzpapa3
1
140
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
410
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.3k
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
560
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.5k
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
150
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
240
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
360
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
170
AI駆動開発を事業のコアに置く
tasukuonizawa
1
180
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
5
5.4k
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
140
Tell your own story through comics
letsgokoyo
1
810
Site-Speed That Sticks
csswizardry
13
1.1k
From π to Pie charts
rasagy
0
120
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
710
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
96
Designing Powerful Visuals for Engaging Learning
tmiket
0
230
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
420
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?