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
意識の低いDockerの使い方
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Takuya Arita
February 06, 2016
Programming
2.3k
6
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
意識の低いDockerの使い方
CROSS2016 アンカンファレンスの資料です
Takuya Arita
February 06, 2016
Transcript
32 slides
ҙࣝͷ͍ 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Λ͑ σʔλϕʔεΛ͍ࣺͯΒΕΔ
ͳΜ͔͍͢͝
ͳΜ͔͍͢͝ʂʂ
Ҏ্
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.5k
5年前の自分に伝えたい広告 API 周辺の歩き方 / SOT Tech Night vol.1
ariarijp
1
570
使われていない、を知る / 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
590
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
390
protojson における文字化けの扱い
kazuki1023
0
450
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
290
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
220
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
170
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
380
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
200
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
210
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
430
AI-Powered Domain-Driven Design
ziobrando
0
470
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
270
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6.4k
Skip the Path - Find Your Career Trail
mkilby
1
290
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
540
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
620
Code Review Best Practice
trishagee
74
20k
Code Reviewing Like a Champion
maltzj
529
40k
Into the Great Unknown - MozCon
thekraken
41
2.8k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
620