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
How to write Dockerfile
Search
@ジュジュ
May 28, 2018
Technology
90
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How to write Dockerfile
@ジュジュ
May 28, 2018
More Decks by @ジュジュ
See All by @ジュジュ
チーム分割においていかれたアラートをチームで責任を持てる形に再設計した
juju62q
0
220
ボトムアップでSLOを導入 2年半運用して分かった失敗と変化
juju62q
2
1.3k
Firecracker Snapshottingを調べてみた
juju62q
1
680
SLOを活用した技術的改善
juju62q
10
16k
IAM Role for Pods and Instance Meta Data Service
juju62q
1
1.7k
telepresence handson
juju62q
2
5.5k
Wanna Use Vitess in Orientation
juju62q
6
1.5k
machine learning with rancher and K8s on prem
juju62q
5
500
docker-handson-for-researcher
juju62q
3
370
Other Decks in Technology
See All in Technology
AWS基盤改善を支える 私たちの理念と行動指針
kentosuzuki
0
140
re:Invent2026 事前勉強会 歴史と愉しみ方10分LT編
toshi_atsumi
0
170
Kiro Crew の Bot (続く役目を任せる窓口) | 目指せ Kiro マスター 12
inariku
PRO
2
340
GCASアップデート(202607-202610)
techniczna
1
240
Software Engineering in an AI-Driven World
erikjhordan_rey
0
130
Cloudflareの向き先
chimame
1
140
「いつか使う」の「いつか」は来ない 〜AI駆動開発における「作らない」判断について〜
ikki0006
0
170
AWSを利用する上で知っておきたい名前解決の話 2026
nagisa53
5
3.3k
PostgreSQL オプティマイザ統計の秘密
nori_shinoda
1
440
SSFの現在地 ― CAEP/RISCからAI Identityへ
oidfj
0
300
新米を「売り越さない」、Aurora DSQLで作る在庫ゼロ死守の限定ドロップEC
yama3133
0
190
AX時代の自治体支援リソース再配分と役割分担の再構成:戦略とロードマップ(概要)
sishi2026
0
210
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
56
10k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Six Lessons from altMBA
skipperchong
29
4.6k
A designer walks into a library…
pauljervisheath
211
25k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Ethics towards AI in product and experience design
skipperchong
2
460
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
510
Unsuck your backbone
ammeep
672
58k
The Curse of the Amulet
leimatthew05
3
17k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
910
Transcript
Dockerfileの書き方を伝えたい 2018/05/27 画像配信勉強会@ピクシブ 岡野兼也
自己紹介 基本情報 • 岡野兼也 / @ジュジュ • Twitter : @Juju_62q
好きな技術 仮想化、コンテナ、DevOps、IaC 趣味 登山、自転車、キャンプ、Kubernetes
みなさん!Docker(コンテナ)使ってますか?
アンケート 1. Dockerをよく使っている 2. 使ってみたいけどよくわかんない 3. 使っていないし使う予定もない 4. 試みたが心が折れた
このLTで伝えたいことは大きく2つです!
伝えたいこと 1. キャッシャブルなDockerfileを書こう 2. レイヤ構造を意識してDockerfileを書こう ex. 他人の計算資源で演算しよう
Dockerあるある 認証情報の扱い方がよくわからない
Dockerあるある Dockerを使って環境を作ってみたけど ビルドが遅くてイラっとする
Dockerあるある いつの間にかクソ長くなっていて 何が必要かわからないDockerfile
Dockerあるある 気がついたら数GBあるDockerイメージ
キャッシャブルなDockerfileを書こう! Dockerfileのキャッシュ はじめに変更があった部分以降はキャッシュが効かない! 変更の頻度が少ない容量のでかい ファイルは先に追加する
キャッシャブルなDockerfileを書こう!
レイヤ構造を意識したDockerfileを書こう
レイヤ構造を意識したDockerfileを書こう
他人の計算資源で計算しよう
みんな綺麗なDockerfileを書いて 開発を効率化していこう!!!