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
Recommend: Cacheful Docker Image
Search
Hurry
December 10, 2018
Technology
240
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Recommend: Cacheful Docker Image
Hurry
December 10, 2018
Transcript
50 slides
Recommend : Cacheful Docker Image Container SIG Meet-up 2018 Fall
@hurry_41 Kansai University Graduate School
ࣗݾհͱܦҢઆ໌
ॴଐ : ؔେֶ େֶӃ M1 Kyeord : ηΩϡϦςΟ,ϥϯαϜΣΞ,Ϋϥυ… Hurry (ຏঘر)
͜ͷՆ Πϯλʔϯγοϓʹ ߦ͖ͬͯ·ͨ͠
Recruit Internship for Specialist 2018 - ENGINEER -
ࡐ
Docker run ͢Δ͜ͱͳ͘ ImageΛ੬ऑੑݕ͍ࠪͨ͠
→ docker run ࣌ͷFSߏͷ࠶ݱ
DockerΛͬͨ͜ͱͷͳֶ͍ੜ͕ 10ӦۀDocker Image ʹ͍ͭͯௐࠪ͠·ͨ͠
ࠓճͷLT ɿ Πϯλʔϯੜ׆ͷ෭࢈
एഐऀͰ͕͢ɺ ΑΖ͓͘͠Ͷ͕͍͠·͢
վΊ·ͯ͠
Recommend : Cacheful Docker Image Container SIG Meet-up 2018 Fall
͜Μͯͳྺ 1ϲ݄ͷ͔͋ͪΌΜ
RUN ·ͱΊͯ·͔͢ʁ
Docker Image ϨΠϠߏ
RUNͷݮ = ϨΠϠͷݮ
= ΠϝʔδαΠζͷݮ
RUNΛ͚Δͱ redisͷΠϯετʔϧ
ΠϝʔδαΠζɿ244MB ※WORKDIRϨΠϠΛ࡞Γ·ͤΜ
RUNΛ·ͱΊΔͱ redisͷΠϯετʔϧ
ΠϝʔδαΠζɿ131MB
ͳΜͰRUNΛ·ͱΊΕOKʁ
NO
ͨͱ͑
td-agent Ұ෦ൈਮ
td-agent Ұ෦ൈਮ มߋʹͳͬͨͱ͢Δ
td-agent Ұ෦ൈਮ ΩϟογϡࡁΈ
td-agent Ұ෦ൈਮ ͔͜͜ΒBuild ↓
td-agent Ұ෦ൈਮ RUN Λ·ͱΊͯΈΔ
td-agent Ұ෦ൈਮ RUN Λ·ͱΊͯΈΔ มߋʹͳͬͨͱ͢Δ
td-agent Ұ෦ൈਮ ͔͜͜ΒBuild ↓
ΠϝʔδαΠζͲͪΒಉ͡
దʹ·ͱΊ͍ͨ
Ͳ͏ఆ͢Δʁ
docker history?
docker history?
ϨΠϠΛ·ͱΊͯຊʹޮԽ͢Δͷ͔ෆ໌
ώϡʔϦεςΟοΫͳܦݧଇ
ɾύοέʔδΠϯετʔϧͱΩϟογϡআΛ·ͱΊΔ ɾϑΝΠϧͷଐੑมߋ·ͱΊΔ ɾADD,COPY,RUNҎ֎·ͱΊΔඞཁ͕ͳ͍
ؾ͔ͮ͵͏ͪʹଞϨΠϠͷϑΝΠϧΛ ৮ͬͯ͠·ͬͯΔ͜ͱ
ϨΠϠؒͷॏෳϑΝΠϧΛݕ͍ͨ͠
ɾmanifest.json ɾConfig.json ɾlayer.tar Πϝʔδͷ੩తղੳ
ɾॏෳϑΝΠϧ ɿ ্ॻ͖ ɾ.wh.ϑΝΠϧ໊ ɿ আ(ԼҐσΟϨΫτϦআ) ɾ.wh..wh..opq ɿ ԼҐϨΠϠʹͯσΟϨΫτϦΛ ࠶ؼతʹḷΒͳ͍
ϗϫΠτΞτ
None
ৄ͘͠ ɾ Image Specification v1.2.0 ɾmoby/pkg/archive/whiteouts.go
πʔϧΛ࡞Γ·ͨ͠ https://github.com/recruit- tech/duplayer
None
None
ɾ·ͱΊͨࡍͷݮαΠζɾϑΝΠϧΛදࣔ ɾॏෳϑΝΠϧΛαΠζॱʹදࣔ ϨΠϠؒͰ
ػೳతʹ্ҐޓͰ͋Δ diveΛ͍·͠ΐ͏
More Decks by Hurry
See All by Hurry
Hardening Ⅱ SU がなまら勉強になったはなし
xapima
0
490
Other Decks in Technology
See All in Technology
データ界隈LT祭の運営のふりかえり
yoshimura_datam
0
110
猫でもわかるKiro初心者編(2026年11月版)
kentapapa
1
130
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
290
Claude Certified Developer – Professional 試験対策
shinoisa
0
280
生成AIによる情報システムへのインパクト (2026年11月版)
taka_aki
0
130
デザインシステムのフィードバックループをほぼ自動化した話
tongari07
1
1.2k
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
480
コーディングできない僕にBobが舞い降りた
shumpei3
0
230
競馬予想をAIでやってみた話
yoshimura_datam
0
150
「個社」ではなく「業界」の課題を解く AI 対話開発 ー 価値を広げる設計と、価値を守るエンジニアリング ー
ivry_presentationmaterials
4
920
ワークフローからハーネスへ — Web フレームワークの作者たちが AI エージェントに向かう理由
azukiazusa1
4
3.6k
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
170
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
390
Writing Fast Ruby
sferik
630
63k
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
600
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
690
The agentic SEO stack - context over prompts
schlessera
0
1k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
For a Future-Friendly Web
brad_frost
184
11k
Tell your own story through comics
letsgokoyo
1
1.1k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
580
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
530
First, design no harm
axbom
PRO
2
1.4k