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
Hypervel - A Coroutine Framework for Laravel Artisans
albertcht
1
110
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
210
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
540
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
340
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
450
型付きアクターモデルがもたらす分散シミュレーションの未来
piyo7
0
810
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
230
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
1
130
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
240
今ならAmazon ECSのサービス間通信をどう選ぶか / Selection of ECS Interservice Communication 2025
tkikuc
20
3.7k
DroidKnights 2025 - 다양한 스크롤 뷰에서의 영상 재생
gaeun5744
3
330
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
1.4k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
184
22k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Speed Design
sergeychernyshev
32
1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Bash Introduction
62gerente
614
210k
Code Reviewing Like a Champion
maltzj
524
40k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
17
950
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
Into the Great Unknown - MozCon
thekraken
39
1.9k
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