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
0
240
Introduction to Docker
Talk given in the Ruby User Group Berlin on June 5th, 2014
José Tomás Albornoz
June 05, 2014
Tweet
Share
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
140
Things I learned when working on a small startup
eljojo
0
90
Introduction to Dokku
eljojo
1
150
Baruco 2014: How I Built My Own Twitch-Plays-Pokémon
eljojo
0
920
Other Decks in Programming
See All in Programming
『自分のデータだけ見せたい!』を叶える──Laravel × Casbin で複雑権限をスッキリ解きほぐす 25 分
akitotsukahara
1
550
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1k
NPOでのDevinの活用
codeforeveryone
0
240
git worktree × Claude Code × MCP ~生成AI時代の並列開発フロー~
hisuzuya
1
480
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
260
XSLTで作るBrainfuck処理系
makki_d
0
210
Gleamという選択肢
comamoca
6
760
High-Level Programming Languages in AI Era -Human Thought and Mind-
hayat01sh1da
PRO
0
250
童醫院敏捷轉型的實踐經驗
cclai999
0
190
AIプログラマーDevinは PHPerの夢を見るか?
shinyasaita
1
120
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
190
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
570
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
430
65k
Designing Experiences People Love
moore
142
24k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Faster Mobile Websites
deanohume
307
31k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Producing Creativity
orderedlist
PRO
346
40k
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