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
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
AIエージェント時代に備える AWS Organizations とアカウント設計
kossykinto
3
930
Sansanでの認証基盤内製化と移行
sansantech
PRO
0
310
Scrumは歪む — 組織設計の原理原則
dashi
0
170
[JAWSDAYS2026][D8]その起票、愛が足りてますか?AWSサポートを味方につける、技術的「ラブレター」の書き方
hirosys_
3
180
社内レビューは機能しているのか
matsuba
0
120
Lambda Web AdapterでLambdaをWEBフレームワーク利用する
sahou909
0
120
S3はフラットである –AWS公式SDKにも存在した、 署名付きURLにおけるパストラバーサル脆弱性– / JAWS DAYS 2026
flatt_security
0
1.8k
ランサムウエア対策してますか?やられた時の対策は本当にできてますか?AWSでのリスク分析と対応フローの泥臭いお話。
hootaki
0
130
内製AIチャットボットで学んだDatadog LLM Observability活用術
mkdev10
0
100
vLLM Community Meetup Tokyo #3 オープニングトーク
jpishikawa
0
350
楽しく学ぼう!ネットワーク入門
shotashiratori
1
240
Kubernetesにおける推論基盤
ry
1
380
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
5.8k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
140
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
52k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
150
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The SEO Collaboration Effect
kristinabergwall1
0
390
Information Architects: The Missing Link in Design Systems
soysaucechin
0
830
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
Six Lessons from altMBA
skipperchong
29
4.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
440
A better future with KSS
kneath
240
18k
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