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
Findy感謝祭2024 LT
skanehira
0
99
Rustではじめる負荷試験
skanehira
6
1.6k
Wellcome Vim World
skanehira
3
620
VimConf 2023 Tiny
skanehira
1
670
Deno Fest 2023
skanehira
0
200
RustでWasm Runtimeを書いた in WebAssembly night #11
skanehira
0
770
RustでWasm Runtimeを書いた in UV_Study
skanehira
1
450
New Docker Compose
skanehira
5
1.3k
Vim/NeovimでGitHubを使う
skanehira
0
160
Other Decks in Programming
See All in Programming
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
7
1.4k
快速入門可觀測性
blueswen
0
380
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
790
Spatial Rendering for Apple Vision Pro
warrenm
0
110
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
270
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
480
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
280
Go の GC の不得意な部分を克服したい
taiyow
3
800
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
270
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
160
たのしいparse.y
ydah
3
120
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
260
Featured
See All Featured
For a Future-Friendly Web
brad_frost
175
9.4k
GitHub's CSS Performance
jonrohan
1030
460k
Code Reviewing Like a Champion
maltzj
520
39k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
520
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Facilitating Awesome Meetings
lara
50
6.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Bash Introduction
62gerente
608
210k
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ͰԿ͔࡞Δ͔ʁ
ޤ͏͝ظ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟·ͨ͠