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
87
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
210
ボトムアップでSLOを導入 2年半運用して分かった失敗と変化
juju62q
2
1.2k
Firecracker Snapshottingを調べてみた
juju62q
1
670
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.4k
machine learning with rancher and K8s on prem
juju62q
5
490
docker-handson-for-researcher
juju62q
3
360
Other Decks in Technology
See All in Technology
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
190
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
430
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
280
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
Browser Spec: Testing Hotwire with Ruby
takahashim
1
120
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
570
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
860
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
820
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Agile that works and the tools we love
rasmusluckow
331
22k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
520
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を書いて 開発を効率化していこう!!!