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
Introduction to Docker
Search
José Tomás Albornoz
June 05, 2014
Programming
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introduction to Docker
Talk given in the Ruby User Group Berlin on June 5th, 2014
José Tomás Albornoz
June 05, 2014
More Decks by José Tomás Albornoz
See All by José Tomás Albornoz
what is this elixir thing everyone is talking about
eljojo
0
160
Things I learned when working on a small startup
eljojo
0
100
Introduction to Dokku
eljojo
1
170
Baruco 2014: How I Built My Own Twitch-Plays-Pokémon
eljojo
0
1.1k
Other Decks in Programming
See All in Programming
typoなんかねぇよ
raspython3
0
660
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
230
Press start. Python's next generation.
willingc
PRO
3
300
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
140
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
250
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
0
300
型解析で実現する Go の言語内 DSL / Conference に Go! タイムテーブルの歩き方 for Gophers
mazrean
0
120
Go を使い始めて 2 ヶ月の学び / My first two months with Go
contour_gara
0
420
信頼性の目標を誰も求めてない
shubox
0
480
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
1
450
이 함수, 실패하면 어떻게 되나요? null부터 Rich Errors까지, Kotlin 에러 처리 15년
haeti2
0
120
バグを直したら useEffect が消えた
colorful12
3
830
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
590
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Skip the Path - Find Your Career Trail
mkilby
1
220
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
230
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
Mobile First: as difficult as doing things right
swwweet
225
10k
Side Projects
sachag
455
43k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
680
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
410
Transcript
Introduction to Docker by josé albornoz
José Albornoz chilean ruby = <3 co-founding startup ! @eljojo
eljojo.net
what’s docker?
what’s docker? • Management system for LXC Containers • Lightweight
virtual machines • Applications are isolated and easy to distribute
Demo
how does it work?
Docker Image • Snapshot of filesystem • They run one
process
Demo
Layers
Layers Ubuntu
Layers Ubuntu nginx
Layers Ubuntu nginx ruby
Layers Ubuntu nginx ruby rails application
Layers !"5e66087f3ffe Virtual Size: 192.5 MB # $"4d26dd3ebc1c Virtual Size:
192.7 MB # $"99ec81b80c55 Virtual Size: 266 MB # $"efc4fbcd007f Virtual Size: 584.5 MB # $"1f089cc15e82 Virtual Size: 584.5 MB Tags: ubuntu # #$"5c1088024f94 Virtual Size: 876.2 MB Tags: ubuntu-desktop # # $"afe3aba3e6e0 Virtual Size: 1.06 GB Tags: chrome # !"a97296852f54 Virtual Size: 606.2 MB # # $"4e81a0cd7256 Virtual Size: 606.2 MB Tags: ruby # !"c2b10e69958d Virtual Size: 596.8 MB # # $"0a422c0cdf16 Virtual Size: 596.8 MB Tags: redis # $"9f3000270ba2 Virtual Size: 643.8 MB # $"4b49b0b7aa4c Virtual Size: 643.8 MB # $"1535da87b710 Virtual Size: 660.8 MB Tags: nodejs
Dockerfile • Images are created through Dockerfiles • Simple script
that prepares the system to run the app
Dockerfile FROM eljojo/golang-docker WORKDIR /app RUN git clone
https://github.com/eljojo/shouldidothat.git . RUN go get -d RUN go build -o shouldidothat CMD ["/app/shouldidothat", "-c", "/etc/ shouldidothat/conf.json"]
Container • Instance of Docker Image • Has it’s own
private IP • You can map folders in host to folders in container
Demo
Registries • Like Git but for Docker Images • The
Docker Index will host your public images for free
CoreOS
None
None
None
None
Thanks!
github.com/eljojo/altoids