Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Docker Images Best Practices
Search
Boris Quiroz
July 08, 2016
Technology
71
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Docker Images Best Practices
We talked about the best practices when working with docker images
Boris Quiroz
July 08, 2016
Transcript
11 slides
Docker Images Best Practices Boris Quiroz - Geek Lunch 0x0
Docker: - Build once, run anywhere - Configure once, run
anything
Containers son a las VMs lo que los threads son
a los procesos. Powerful chroot.
bootfs (lxc, btrfs) rootfs (ubuntu) Imagen
bootfs (lxc, btrfs) rootfs (ubuntu) Imagen Container (rw)
Buenas prácticas Usar cache: FROM alpine:edge Usar tags: docker build
-t boris/parrots . Exponer puertos: EXPOSE 1313 CMD || ENTRYPOINT: ENTRYPOINT ["/root/terminal-parrot/parrot"]
None
None
Size
Imagenes grandes se demoran más en bajar. Imágenes grandes usan
más espacio. Componentes innecesarios aumentan el tamaño. En debian: --no-install-recommends y rm -rf /var/lib/apt/lists/* En Alpine: rm -rf /var/cache/apk/* Busybox Alpine Node PHP Ubuntu 6.1 5.9 1:21 50.3 23.9 Busybox Alpine Node PHP Ubuntu 1.093 MB 4.799 MB 660.7 MB 490.3 MB 132.8 MB
Demo
More Decks by Boris Quiroz
See All by Boris Quiroz
Secrets management with Vault
boris
0
76
Software Freedom Day 2015
boris
0
59
Code Driven Infrastructure
boris
0
81
hola mundo
boris
0
73
DevOps Tools: Chef + Vagrant
boris
0
240
Kitchen.CI
boris
0
130
Introducción a HSTS
boris
0
68
Hands-on Lab
boris
0
89
Tech, Method & Philosophy for the cloud
boris
0
72
Other Decks in Technology
See All in Technology
みん強Lightning! データ基盤ひとりでできるかな
endonanana
0
220
AI-DLCでソフトウェア開発の速さは 上がったのか?
rfdnxbro
0
170
Welcome JXL!
dynamis
0
340
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
680
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
880
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
520
Kiro Enterprise Management: 管理者が 1 か所で決め、全員の Kiro に届ける
inariku
PRO
1
130
kubellの最新データ分析環境
kubell_hr
2
280
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
3
630
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
17
11k
Is the Website Dying?
miriamschwab
0
220
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
3
170
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k
A Tale of Four Properties
chriscoyier
163
24k
Tell your own story through comics
letsgokoyo
1
1.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
The Cult of Friendly URLs
andyhume
79
7.1k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
320
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Typedesign – Prime Four
hannesfritz
42
3.2k