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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
skanehira
September 05, 2019
Programming
310
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Dockerのプラグインの話
skanehira
September 05, 2019
More Decks by skanehira
See All by skanehira
Reactにおける 良いコンポーネントテストとはなにか
skanehira
1
440
vimconf2025.pdf
skanehira
0
43
findy-ai-terminal.pdf
skanehira
2
510
Rustから学ぶ 非同期処理の仕組み
skanehira
1
410
about_gorilla.vim.pdf
skanehira
0
140
if let temporary scopeについて
skanehira
0
210
build-debugger-in-rust.pdf
skanehira
1
280
Findy感謝祭2024 LT
skanehira
0
160
Rustではじめる負荷試験
skanehira
6
2.4k
Other Decks in Programming
See All in Programming
Claspは野良GASの夢をみるか
takter00
0
180
New "Type" system on PicoRuby
pocke
1
720
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
460
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
250
3Dシーンの圧縮
fadis
1
680
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
1.9k
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
260
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.6k
Lessons from Spec-Driven Development
simas
PRO
0
150
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
110
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
550
さぁV100、メモリをお食べ・・・
nilpe
0
130
Featured
See All Featured
Color Theory Basics | Prateek | Gurzu
gurzu
0
360
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.6k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
600
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Chasing Engaging Ingredients in Design
codingconduct
0
210
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
320
KATA
mclloyd
PRO
35
15k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
130
Transcript
%PDLFSͷϓϥάΠϯͷ %PDLFS.FFUVQ5PLZP
ࣗݾհ ໊લ ɹΰϦϥ ࣄ ɹ্ಈԂΛकΔ ͖ͳͷ ɹ7JNɺ(Pɺ%PDLFSɺόφφ झຯ ɹ044׆ಈ
ࣗݾհ %PDLFSͷ56*ΫϥΠΞϯτ EPDVJ Λ࡞͍ͬͯ·͢ IUUQTHJUIVCDPNTLBOFIJSBEPDVJ
None
ࠓͷ͓
%PDLFSͷϓϥάΠϯͷͰͳ͍
7JNͷϓϥάΠϯEPDLFSWJN ͷ͓
͜Μͳײ͡ͷͭ
͜Μͳײ͡ͷͭ
ͲΜͳ͜ͱ͕Ͱ͖Δͷʁ EPDLFSDMJͰͰ͖Δ͜ͱશ෦Ͱ͖Δ
ͲΜͳ͜ͱ͕Ͱ͖Δͷʁ w ίϯςφͷ࡞ɺআɺΞλονɺϩά֬ೝ w Πϝʔδͷݕࡧɺऔಘɺআ w ίϯςφͷ$16.&.༻ͷࢹ ओཁػೳҎԼ
σϞ
Έ
7JNͷཪͰ DVSMͱEPDLFSDMJΛ࣮ߦ͍ͯ͠Δ
IUUQTEPDTEPDLFSDPNWFOHJOFEPDLFSPWFSWJFXUIF EPDLFSQMBUGPSN
EPDLFSDMJ 3&45"1*Λୟ͍͍ͯΔ
)551ͳͷͰDVSMͰ ಉ͜͡ͱ͕Ͱ͖Δ
DVSMΛ7JN͔Β࣮ߦ͢Ε 7JNEPDLFSDMJͷΘΓʹͳΕΔ
EPDLFSWJNͷੜ )UUQTHJUIVCDPNTLBOFIJSBEPDLFSWJN
:DockerContainers ! $ curl --unix-socket /var/run/docker.sock \ -X GET \
--dump-header {header_file} \ --output {response_body_file} \ http://localhost/containers/json ͜Μͳײ͡
:Docker run --rm -it gorilla bash ! $ docker run
—rm -it gorilla bash ͜Μͳײ͡
ͱͯγϯϓϧ
ͱ͜ΖͰʜ
DVSMͰͰ͖ΔͳΒ ͳͥEPDLFSDMJ͏ͷʁ
ίϯςφͷΞλον 5$1PS8FC4PDLFUΛ͏
POST /containers/16253994b7c4/attach? stream=1&stdout=1 HTTP/1.1 Upgrade: tcp Connection: Upgrade ίϯςφΞλονͷϦΫΤετ 5$1
IUUQTEPDTEPDLFSDPNFOHJOFBQJWPQFSBUJPO $POUBJOFS"UUBDI
DVSM5$1ͱ8FC4PDLFUʹର Ԡ͍ͯ͠ͳ͍ͷͰແཧ
େਓ͘͠EPDLFSDMJΛ͏
ࠓճಘͨݟ
DVSM͕͋Ε େମEPDLFSͷૢ࡞͕Ͱ͖Δ
CBTI͚ͩͰΠϯλϥΫςΟϒͳ πʔϧ࡞ΕΔʢͣ
ࠓCBTIͰԿ͔࡞Δ͔ʁ
ޤ͏͝ظ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟·ͨ͠