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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
José Tomás Albornoz
June 05, 2014
Programming
0
250
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
150
Things I learned when working on a small startup
eljojo
0
96
Introduction to Dokku
eljojo
1
160
Baruco 2014: How I Built My Own Twitch-Plays-Pokémon
eljojo
0
1k
Other Decks in Programming
See All in Programming
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
150
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
240
How to stabilize UI tests using XCTest
akkeylab
0
140
Nostalgia Meets Technology: Super Mario with TypeScript
manfredsteyer
PRO
0
110
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
270
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
520
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
160
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
230
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
220
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
140
AI 開発合宿を通して得た学び
niftycorp
PRO
0
170
20260320登壇資料
pharct
0
120
Featured
See All Featured
How to Ace a Technical Interview
jacobian
281
24k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
140
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Amusing Abliteration
ianozsvald
0
140
Agile that works and the tools we love
rasmusluckow
331
21k
Building Adaptive Systems
keathley
44
3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
52k
Mind Mapping
helmedeiros
PRO
1
130
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
84
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
140
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