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
danny
June 01, 2014
Technology
2.4k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
開発環境でDocker使ってみた
danny
June 01, 2014
More Decks by danny
See All by danny
Datapiaのフロントエンドについて
f96q
0
550
新規サービスの技術選定と設計
f96q
1
18k
Vue.jsとRailsで作るWebアプリケーション
f96q
0
840
2013年を振り返って
f96q
0
790
Git勉強会@KRAY
f96q
1
2.2k
等強Ruby会議10に参加しての感想
f96q
2
970
Inside Tripclip
f96q
2
1.6k
Other Decks in Technology
See All in Technology
Snowflake Horizon Catalog と Apache Iceberg で作る オープンなデータ基盤
kitagawaz
0
390
DAMOS - The Smart Cruise Control for RAM
ennael
PRO
1
100
Execution in the Kingdom of Agents: Reflections on Abstraction and Complexity
bcantrill
0
730
いちAWSエンジニアのAI活用を振り返る #devio2026 / devio osaka 2026 kawahara
masahirokawahara
2
320
認知負荷を吸収し、プロダクトをまたぐPR Preview基盤の設計事例
taiki45
2
570
あなたの知らないAmazon VPC Route Server/Amazon VPC Route Server you don't know about
masakiokuda
2
210
全社共通データ基盤をつくる。ソニーのDatabricks活用とデータガバナンス設計の裏側
sony
0
300
カンファレンスに参加した後の浮遊感とセルフケア
pauli
0
300
2026-09-26 Platform Engineering Kaigi 2026 インフラとアプリの境界線と委譲の設計 / Drawing the Infra and App Line
masasuzu
0
590
Argo CDとAtlantisで実現するインフラ管理のセルフサービス化──小規模SREチームで支えるプラットフォーム
cassius7
0
280
データ品質を壊しながらSnowflakeのAIに分析させてみた
kawanago
0
410
メルカリにおけるAI時代の高速プロトタイピング基盤「Arca」
ryotarai
18
14k
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
4 Signs Your Business is Dying
shpigford
187
23k
How to train your dragon (web standard)
notwaldorf
97
6.8k
Faster Mobile Websites
deanohume
310
32k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
570
The Curious Case for Waylosing
cassininazir
1
550
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Producing Creativity
orderedlist
PRO
348
41k
Designing for humans not robots
tammielis
254
26k
Deep Space Network (abreviated)
tonyrice
0
350
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Transcript
։ൃڥͰ%PDLFS ͬͯΈͨ QHDBGF EBOOZ
ࠓ͢͜ͱ w Πϯετʔϧํ๏ w ίϯςφͱΠϝʔδ w ϙʔλϏϦςΟ w -JOVYڥͱҧ͏ w
͍͔ͬͨ͢ w ͍ͮΒ͔ͬͨ
Α͋͘Δ։ൃڥ
ࣗͷ։ൃڥ
%PDLFSʹ͍ͭͯ w 9-$ -JOVY$POUBJOFST ΛͬͨԾڥ w HJUͳͲͷόʔδϣϯཧγεςϜͷΑ͏ʹมߋ ΛࠩͰཧͰ͖Δ w EPDLFS͕ಈ͘ڥͳΒɺଞͷڥʹҠߦ͢͠
͍ϙʔλϏϦςΟੑ
Πϯετʔϧํ๏ w VCVOUV w ϗετ04ͱͯ͠ɺΦϑΟγϟϧͰਪ͞Εͯ ΔͷͰ͓નΊ w TVEPBQUHFUJOTUBMMMYDEPDLFS
Πϝʔδͱίϯςφ w Πϝʔδ w อଘ͞ΕͯΔঢ়ଶ w ίϯςφ w ϫʔΩϯάεϖʔεͰಈ͍ͯΔঢ়ଶ w
ΠϝʔδΛݩʹىಈ w Ұఀࢭ͢ΔͱىಈͰ͖ͳ͍
DFOUPTͷΠϝʔδΛऔಘ vagrant@packer-virtualbox:~$ sudo docker pull centos:latest! Pulling repository centos! 0b443ba03958:
Download complete! 511136ea3c5a: Download complete! 7064731afe90: Download complete
ίϛοτπϦʔ vagrant@packer-virtualbox:~$ sudo docker images --tree! Warning: '--tree' is deprecated,
it will be removed soon. See usage.! !"511136ea3c5a Virtual Size: 0 B! !"7064731afe90 Virtual Size: 0 B! !"0b443ba03958 Virtual Size: 297.6 MB Tags: centos:latest
ίϯςφΛىಈͯ͠ૢ࡞ sudo docker run -t -i centos /bin/bash! bash-4.1# touch
home/test.txt! bash-4.1# exit! exit
ίϯςφJEΛௐΔ vagrant@packer-virtualbox:~$ sudo docker ps -a! CONTAINER ID IMAGE COMMAND
CREATED STATUS cf0ce15d1779 centos:latest /bin/bash About a minute ago Exited (0) 59 seconds ago
มߋΛ֬ೝ vagrant@packer-virtualbox:~$ sudo docker diff cf0ce15d1779! A /.bash_history! C /home!
A /home/test.txt
ίϛοτ vagrant@packer-virtualbox:~$ sudo docker commit cf0ce15d1779 centos! a91759364e6172ec5504d5af346e9d1be856aeafbec7491bbbdad8603d2f5d07
ίϛοτϩάΛ֬ೝ vagrant@packer-virtualbox:~$ sudo docker images --tree! Warning: '--tree' is deprecated,
it will be removed soon. See usage.! !"511136ea3c5a Virtual Size: 0 B! !"7064731afe90 Virtual Size: 0 B! !"0b443ba03958 Virtual Size: 297.6 MB! !"a91759364e61 Virtual Size: 297.6 MB Tags: centos:latest vagrant@packer-virtualbox:~$ sudo docker images --tree! Warning: '--tree' is deprecated, it will be removed soon. See usage.! !"511136ea3c5a Virtual Size: 0 B! !"7064731afe90 Virtual Size: 0 B! !"0b443ba03958 Virtual Size: 297.6 MB Tags: centos:latest ίϛοτલ ίϛοτޙ
৽͍͠Πϝʔδ͔Βىಈ vagrant@packer-virtualbox:~$ sudo docker run -t -i centos /bin/bash! bash-4.1#
cd home/! bash-4.1# ls! test.txt
ϙʔλϏϦςΟ w ίϯςφΛϑΝΠϧʹΠϯϙʔτͯ͠ɺͦΕΛ %PDLFS͕ಈ͘ผͳڥʹҠಈͯ͠ɺΠϝʔδͱ ͯ͠ΠϯϙʔτͰ͖Δɻ
ϙʔλϏϦςΟ w Πϯϙʔτ w EPDLFSFYQPSUDPOUBJOFS@JEcH[JQ DPOUBJOFSUBSH[ w ΤΫεϙʔτ w DBUDPOUBJOFSUBSH[cTVEPEPDLFSJNQPSU
JNBHF@OBNF
-JOVYڥͱҧ͏ vagrant@packer-virtualbox:~$ sudo docker run -t -i centos /bin/bash! bash-4.1#
cat /etc/redhat-release! CentOS release 6.5 (Final)! bash-4.1# uname -a! Linux b5f016f859fe 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug w Χʔωϧϗετ04ͷΛ͏
-JOVYڥͱҧ͏ w JOJUE͕ಈ͔ͳ͍ w VQTUBSU͕%PDLFS༻ʹΧελϚΠζ͞ΕͯΔ w TVQFSWJTPSEͳͲΛ͏
͍͔ͬͨ͢ w มߋͷࠩΛίϛοτͱͯ͠อଘͯ͠ΔͷͰɺ͢ ͙ίϛοτͷঢ়ଶʹͤΔ w ଞͷ%PDLFSͬͯΔڥʹҠߦ͕͍͢͠ w 04ϨϕϧͰԾԽͯ͠ͳ͍ͷͰɺΦʔόʔϔου ͕গͳ͍ w
ϗετ04ͷִ͞ΕͨϝϞϦʔۭؒͰϓϩηεΛ ࣮ߦ͢ΔͷͰϦιʔεͷޮ͕͍͍
͍ͣΒ͔ͬͨ w ίϛοτ܁Γฦͨ͠ΓɺίϯςφͷىಈΛසൟʹͬ ͯΔσΟεΫ༰ྔ͕͙͍ͬ͢ͺ͍ʹͳΔ w ίϯςφΛఀࢭ͠Α͏ͱͯ͠ɺࢭ·Βͳ͍͕࣌͋Δ w %PDLFSpMFΛϏϧυதʹͨ·ʹࢭ·Δͱ͖͕͋Δ w %PDLFSpMFͰॻ͖ࠐΈՄೳͳύʔϛογϣϯͰϑΝ
ΠϧΛ࡞ͯ͠ɺίϯςφىಈ͢Δͱ3FBE0OMZ ͳϑΝΠϧʹͳͬͯΔ