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
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
意識の低いDockerの使い方
Search
Takuya Arita
February 06, 2016
Programming
2.2k
6
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
意識の低いDockerの使い方
CROSS2016 アンカンファレンスの資料です
Takuya Arita
February 06, 2016
More Decks by Takuya Arita
See All by Takuya Arita
Hosted Redash の EOL と移行ツール redash-migrate / You should know about Hosted Redash EOL and redash-migrate
ariarijp
0
3.4k
Redash で踏み出す BI 導入はじめの一歩 / DataEngineeringStudy Redash
ariarijp
1
2.8k
Redash のいま / Redash in 2021
ariarijp
2
1.2k
Redash 導入・運用を4年ぐらいやって変わったこと・変わらなかったこと / Changed and unchanged things with Redash and me
ariarijp
0
1.4k
5年前の自分に伝えたい広告 API 周辺の歩き方 / SOT Tech Night vol.1
ariarijp
1
550
使われていない、を知る / How do we know unused things in the real world?
ariarijp
0
490
MULTI_ORG について / What is MULTI_ORG in Redash
ariarijp
1
3.9k
あらためて振り返る Redash の使いどころ / Why I strongly recommend Redash
ariarijp
2
1.3k
PHP Data Structures
ariarijp
1
580
Other Decks in Programming
See All in Programming
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
3
380
Oxlintはいいぞ(続)
yug1224
1
560
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
470
信頼性の目標を誰も求めてない
shubox
0
500
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
4
1.8k
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
180
MIZARU@SPAJAM2026 第二回予選
1901drama
0
110
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
3
510
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
120
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
130
LLMは4年分のCompose移行を再現できるのか?実プロダクト279件のXMLで探る自動化の境界線
makun
0
440
Hono + Inertia + React で LP を構築した話
oukayuka
2
220
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
330
41k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
310
sira's awesome portfolio website redesign presentation
elsirapls
0
410
Marketing to machines
jonoalderson
1
5.8k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
30 Presentation Tips
portentint
PRO
1
390
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
A designer walks into a library…
pauljervisheath
211
25k
New Earth Scene 8
popppiees
3
2.5k
Transcript
ҙࣝͷ͍ Dockerͷ͍ํ @ariarijp
w !BSJBSJKQ 5BLVZB"SJUB w גࣜձࣾίίϥϒϧ ιϑτΣΞΤϯδχΞ ࣗݾհ ฐࣾऔక͕ॻ͖·ͨ͠ એ
ຊ
ࠓDockerͷ ηογϣϯ͕͋Γ·ͨ͠
ΞϓϦέʔγϣϯΛDockerize͢Ε 30ԯͷσόΠεͰΔ͕དྷΔ͔͠Ε·ͤΜ
͍͢͝ɻ͚Ͳ
ͦ͜·Ͱ͠ͳͯ͘ Docker͑ΔͷͰ
ͨͱ͑
C
S
V
CSV Comma-Separated Values
CSVΛͪΐͬͱՃ͢Δͷʹ DockerΛͬͨΛ͠·͢
͓
ͱ͋Δࠂӡ༻୲ऀ
ʮCSVϑΝΠϧͷूܭ͕େมͰɻɻʯ
(ͦΕExcelͰɾɾɾ)
ʮ13ສߦ͙Β͍͋ͬͯɻɻʯ
None
͝ΊΜɻख͏Θ
MySQL͔Կ͔ʹCSV ͿͪࠐΊ͋ͱ༨༟͡ΌΜ
ͨͱ͑VagrantͰڥ࡞ͬͯ ͝ʹΐ͝ʹΐͰܰ͘ࡁΉ
ͦΕͩͱ໘ന͘ͳ͔ͬͨͷͰ DockerͰͬͯΈͨ
Ͳ͏͔ͬͨ • ݩσʔλΛΒ͏ • σʔλݟͯCREATE TABLEͱ͔ඞཁͳSQLΛͪΐͬ ͱॻ͘ • Dockerfileͱͪΐͬͱͨ͠γΣϧεΫϦϓτΛॻ͘ •
docker build ͯ͠ docker run ͨ͠ΒCSVϑΝΠϧ͕ Ͱ͖͍ͯΔ
σϞ $ git clone https://github.com/ariarijp/dockerfiles.git $ cd dockerfiles/cross2016 $ docker
build -t ariarijp/cross2016 . $ docker run --rm -it -v `pwd`:/mnt/docker ariarijp/cross2016
Ҏ্ɺҙࣝΊͷσϞ
ͪΐͬͱ·͍ͬͯͩ͘͞
͔ͨ͠ʹ͜Εҙࣝͷ͍ ͍ํͰ͕͢
DockerΛ͑ σʔλϕʔεΛ͍ࣺͯΒΕΔ
ͳΜ͔͍͢͝
ͳΜ͔͍͢͝ʂʂ
Ҏ্