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
How to write Dockerfile
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
@ジュジュ
May 28, 2018
Technology
80
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
200
ボトムアップでSLOを導入 2年半運用して分かった失敗と変化
juju62q
2
1.2k
Firecracker Snapshottingを調べてみた
juju62q
1
640
SLOを活用した技術的改善
juju62q
10
15k
IAM Role for Pods and Instance Meta Data Service
juju62q
1
1.7k
telepresence handson
juju62q
2
5.4k
Wanna Use Vitess in Orientation
juju62q
6
1.4k
machine learning with rancher and K8s on prem
juju62q
5
480
docker-handson-for-researcher
juju62q
3
350
Other Decks in Technology
See All in Technology
Ruby::Boxでできること、Refinementsでできること
joker1007
3
400
AIにフローを作らせようとして挫折した話
hamatsutaichi
0
200
AI Testing Talks: Challenges of Applying AI in Software Testing: From Hype to Practical Use
exactpro
PRO
1
130
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
3
220
DevOps Agentで始めるAWS運用 〜フロンティアエージェントが変える運用の現場〜
nyankotaro
1
260
noUncheckedIndexedAccess、3時間、1万円。 / noUncheckedIndexedAccess, 3 Hours, 10,000 JPY.
kaonavi
1
310
新アーキテクチャ「TiDB X」解説とDedicated比較 TiDB Cloud Premiumのゲーム運用活用を検証
staffrecruiter
0
120
Chart.js が簡単に使えるようになっていたので OGP 画像生成に使った話
kamekyame
0
160
Rancherの紹介&Update情報(RancherJP Online Meetup #09)
yoshiyuki_kono
0
120
MIERUNE JCT 発表資料「宇宙から伊能忠敬ごっこ」
syuchimu
0
190
Diagnosing performance problems without the guesswork
elenatanasoiu
0
170
protovalidate-es を導入してみた
bengo4com
0
120
Featured
See All Featured
Practical Orchestrator
shlominoach
191
11k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Prompt Engineering for Job Search
mfonobong
0
330
Odyssey Design
rkendrick25
PRO
2
690
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
320
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
600
Measuring & Analyzing Core Web Vitals
bluesmoon
9
860
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
130
Optimising Largest Contentful Paint
csswizardry
37
3.7k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
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を書いて 開発を効率化していこう!!!