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
skanehira
September 05, 2019
Programming
0
290
Dockerのプラグインの話
skanehira
September 05, 2019
Tweet
Share
More Decks by skanehira
See All by skanehira
build-debugger-in-rust.pdf
skanehira
1
170
Findy感謝祭2024 LT
skanehira
0
110
Rustではじめる負荷試験
skanehira
6
1.7k
Wellcome Vim World
skanehira
3
630
VimConf 2023 Tiny
skanehira
1
690
Deno Fest 2023
skanehira
0
210
RustでWasm Runtimeを書いた in WebAssembly night #11
skanehira
0
780
RustでWasm Runtimeを書いた in UV_Study
skanehira
1
450
New Docker Compose
skanehira
5
1.3k
Other Decks in Programming
See All in Programming
PHPカンファレンス 2024|共創を加速するための若手の技術挑戦
weddingpark
0
140
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
180
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
310
DevFest - Serverless 101 with Google Cloud Functions
tunmise
0
140
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
Alba: Why, How and What's So Interesting
okuramasafumi
0
210
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
1.4k
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
420
ESLintプラグインを使用してCDKのセオリーを適用する
yamanashi_ren01
2
240
GitHub CopilotでTypeScriptの コード生成するワザップ
starfish719
26
6k
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
3
360
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
250
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.5k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
240
Scaling GitHub
holman
459
140k
We Have a Design System, Now What?
morganepeng
51
7.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Side Projects
sachag
452
42k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
360
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Code Review Best Practice
trishagee
65
17k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
19
2.3k
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ͰԿ͔࡞Δ͔ʁ
ޤ͏͝ظ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟·ͨ͠