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
68
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
More Decks by Boris Quiroz
See All by Boris Quiroz
Secrets management with Vault
boris
0
73
Software Freedom Day 2015
boris
0
56
Code Driven Infrastructure
boris
0
77
hola mundo
boris
0
70
DevOps Tools: Chef + Vagrant
boris
0
240
Kitchen.CI
boris
0
120
Introducción a HSTS
boris
0
65
Hands-on Lab
boris
0
86
Tech, Method & Philosophy for the cloud
boris
0
67
Other Decks in Technology
See All in Technology
会社説明資料
persolserverworks
0
9.8k
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
870
Metadata - Section 1: HTML Basics
mohab1
0
130
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.3k
DBについての基礎説明(MySQL編) - コロプラ 2026年度 新卒研修
colopl
0
140
Optunaの最新リリースv5.0について
pfn
PRO
0
120
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
280
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
Rust で関数型ドメインモデリング
takonda
0
170
Browser Spec: Testing Hotwire with Ruby
takahashim
1
130
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
200
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
530
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
420
Google's AI Overviews - The New Search
badams
0
1.6k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
Facilitating Awesome Meetings
lara
57
7.2k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
The Pragmatic Product Professional
lauravandoore
37
7.5k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Transcript
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