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
意識の低い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.2k
6
Share
意識の低い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.3k
Redash で踏み出す BI 導入はじめの一歩 / DataEngineeringStudy Redash
ariarijp
1
2.7k
Redash のいま / Redash in 2021
ariarijp
2
1.1k
Redash 導入・運用を4年ぐらいやって変わったこと・変わらなかったこと / Changed and unchanged things with Redash and me
ariarijp
0
1.4k
5年前の自分に伝えたい広告 API 周辺の歩き方 / SOT Tech Night vol.1
ariarijp
1
540
使われていない、を知る / How do we know unused things in the real world?
ariarijp
0
460
MULTI_ORG について / What is MULTI_ORG in Redash
ariarijp
1
3.8k
あらためて振り返る Redash の使いどころ / Why I strongly recommend Redash
ariarijp
2
1.3k
PHP Data Structures
ariarijp
1
570
Other Decks in Programming
See All in Programming
Hive Metastoreを通して学ぶIceberg REST Catalog ― 仕様から実装まで
okumin
0
270
GitHub Copilot CLIのいいところ
htkym
2
980
AI駆動開発勉強会 広島支部 第一回勉強会 AI駆動開発概要とワークショップ
hayatoshimiu
0
360
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
320
誰も頼んでない機能を出荷した話
zekutax
0
120
運用エージェントは "作る" から "育てる" へ - 記憶と自己進化の3層設計パターン / self-evolving-agents-three-layer-agent-design
gawa
10
1.2k
AgentCore Optimizationを始めよう!
licux
4
280
Agentic AI in the Frontend: Architectures with Open Standards @iJS London 2026
manfredsteyer
PRO
0
100
Swiftのレキシカルスコープ管理
kntkymt
0
190
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
360
要はバランスからの卒業 #yumemi_grow
kajitack
0
190
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
3
1.1k
Featured
See All Featured
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.7k
Building the Perfect Custom Keyboard
takai
2
770
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
340
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.6k
YesSQL, Process and Tooling at Scale
rocio
174
15k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
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Λ͑ σʔλϕʔεΛ͍ࣺͯΒΕΔ
ͳΜ͔͍͢͝
ͳΜ͔͍͢͝ʂʂ
Ҏ্