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
Dockerのプラグインの話
skanehira
September 05, 2019
More Decks by skanehira
See All by skanehira
Reactにおける 良いコンポーネントテストとはなにか
skanehira
1
430
vimconf2025.pdf
skanehira
0
41
findy-ai-terminal.pdf
skanehira
2
500
Rustから学ぶ 非同期処理の仕組み
skanehira
1
400
about_gorilla.vim.pdf
skanehira
0
130
if let temporary scopeについて
skanehira
0
200
build-debugger-in-rust.pdf
skanehira
1
270
Findy感謝祭2024 LT
skanehira
0
160
Rustではじめる負荷試験
skanehira
6
2.4k
Other Decks in Programming
See All in Programming
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.9k
My daily life on Ruby
a_matsuda
3
200
JCON - Create Agentic AI Apps, The Easy Way!
kdubois
1
100
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
3
340
AI時代になぜ書くのか
mutsumix
0
360
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
200
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
130
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.1k
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
4
450
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.2k
【26新卒研修】OpenAPI/Swagger REST API研修
dip_tech
PRO
0
150
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
500
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
220
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
790
Automating Front-end Workflow
addyosmani
1370
200k
Speed Design
sergeychernyshev
33
1.6k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
190
Making the Leap to Tech Lead
cromwellryan
135
9.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Optimizing for Happiness
mojombo
378
71k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Writing Fast Ruby
sferik
630
63k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
260
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ͰԿ͔࡞Δ͔ʁ
ޤ͏͝ظ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟·ͨ͠