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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Boris Quiroz
July 08, 2016
Technology
60
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
69
Software Freedom Day 2015
boris
0
50
Code Driven Infrastructure
boris
0
75
hola mundo
boris
0
68
DevOps Tools: Chef + Vagrant
boris
0
240
Kitchen.CI
boris
0
120
Introducción a HSTS
boris
0
60
Hands-on Lab
boris
0
83
Tech, Method & Philosophy for the cloud
boris
0
62
Other Decks in Technology
See All in Technology
FinOps × AIエージェントで実現する コストインシデントの自動調査
oasis1994liveforever
0
150
2026TECHFRESH畢業分享會 - Lightning Talk - E起 See See : 電商推薦讀心術? 數據說了算
line_developers_tw
PRO
0
1.2k
Kiroで書いた 設計書 が AI レビューの 採点基準 になる
ezaki
0
120
When Platform Engineering Meets GenAI
sucitw
0
110
GitHub Copilot 最新アップデート – 「一歩先」の実践活用術
moulongzhang
4
1.4k
エンジニアリング戦略の作り方 / Crafting Engineering Strategy
iwashi86
21
7k
AI時代のコスト管理を考えよう〜明日から使える実践AWSノウハウ~
yoshimi0227
0
170
新しいUbuntu/GNOMEが使いたいからXからWaylandへ移行頑張ってるの巻 2026-06-20
nobutomurata
0
140
入門!AWS Blocks
ysuzuki
1
140
SONiC Scale-Up Working Group から探る Scale-UpやUltraEthernet機能の実装方法
ebiken
PRO
2
370
【Cyber-sec+】経営層を"動かす"ための考え方
hssh2_bin
0
190
2026TECHFRESH畢業分享會 - AI 時代的人生存檔點
line_developers_tw
PRO
0
1.2k
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
950
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
160
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.8k
Raft: Consensus for Rubyists
vanstee
141
7.5k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
730
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
150
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
The browser strikes back
jonoalderson
0
1.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