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
Docker Images Best Practices
Search
Boris Quiroz
July 08, 2016
Technology
0
57
Docker Images Best Practices
We talked about the best practices when working with docker images
Boris Quiroz
July 08, 2016
Tweet
Share
More Decks by Boris Quiroz
See All by Boris Quiroz
Secrets management with Vault
boris
0
60
Software Freedom Day 2015
boris
0
46
Code Driven Infrastructure
boris
0
72
hola mundo
boris
0
66
DevOps Tools: Chef + Vagrant
boris
0
230
Kitchen.CI
boris
0
120
Introducción a HSTS
boris
0
55
Hands-on Lab
boris
0
82
Tech, Method & Philosophy for the cloud
boris
0
59
Other Decks in Technology
See All in Technology
Oracle AI Database移行・アップグレード勉強会 - RAT活用編
oracle4engineer
PRO
0
110
22nd ACRi Webinar - NTT Kawahara-san's slide
nao_sumikawa
0
100
ランサムウェア対策としてのpnpm導入のススメ
ishikawa_satoru
0
220
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
3
840
旅先で iPad + Neovim で iOS 開発・執筆した話
zozotech
PRO
0
100
Cloud Runでコロプラが挑む 生成AI×ゲーム『神魔狩りのツクヨミ』の裏側
colopl
0
140
Cosmos World Foundation Model Platform for Physical AI
takmin
0
970
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
330
Red Hat OpenStack Services on OpenShift
tamemiya
0
130
マネージャー視点で考えるプロダクトエンジニアの評価 / Evaluating Product Engineers from a Manager's Perspective
hiro_torii
0
180
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
660
Agile Leadership Summit Keynote 2026
m_seki
1
670
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
0
350
Designing for humans not robots
tammielis
254
26k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
57
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
460
Are puppies a ranking factor?
jonoalderson
1
2.7k
Building Applications with DynamoDB
mza
96
6.9k
Design in an AI World
tapps
0
150
Designing for Timeless Needs
cassininazir
0
130
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Raft: Consensus for Rubyists
vanstee
141
7.3k
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