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.vim
Search
skanehira
September 26, 2019
Programming
0
120
docker.vim
skanehira
September 26, 2019
Tweet
Share
More Decks by skanehira
See All by skanehira
about_gorilla.vim.pdf
skanehira
0
81
if let temporary scopeについて
skanehira
0
180
build-debugger-in-rust.pdf
skanehira
1
230
Findy感謝祭2024 LT
skanehira
0
130
Rustではじめる負荷試験
skanehira
6
2k
Wellcome Vim World
skanehira
3
640
VimConf 2023 Tiny
skanehira
1
730
Deno Fest 2023
skanehira
0
250
RustでWasm Runtimeを書いた in WebAssembly night #11
skanehira
0
840
Other Decks in Programming
See All in Programming
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
280
Create a website using Spatial Web
akkeylab
0
300
Claude Codeの使い方
ttnyt8701
1
130
WindowInsetsだってテストしたい
ryunen344
1
190
「ElixirでIoT!!」のこれまでとこれから
takasehideki
0
370
FormFlow - Build Stunning Multistep Forms
yceruto
1
190
CursorはMCPを使った方が良いぞ
taigakono
1
170
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1k
生成AIで日々のエラー調査を進めたい
yuyaabo
0
640
型付きアクターモデルがもたらす分散シミュレーションの未来
piyo7
0
810
エンジニア向け採用ピッチ資料
inusan
0
160
AIコーディング道場勉強会#2 君(エンジニア)たちはどう生きるか
misakiotb
1
240
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
Stop Working from a Prison Cell
hatefulcrawdad
270
20k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Rails Girls Zürich Keynote
gr2m
94
14k
BBQ
matthewcrist
89
9.7k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Making Projects Easy
brettharned
116
6.3k
Transcript
docker.vim ΰϦϥ.vim #8
About me
About me Job Guardian of Ueno Zoo Hobby Developing OSS
(vim plugins, Go tools) Favorite Vim,Go,Docker Authors ʮVim͕͖ʹͳΔຊʯ
About me Job Guardian of Ueno Zoo Hobby Developing OSS
(vim plugins, Go tools) Favorite Vim,Go,Docker Authors ʮVim͕͖ʹͳΔຊʯ
Introduction to… About docker.vim Features Demo How plugin work Summary
About docker.vim docker.vim is a vim plugin. It’s can management
docker containers and images on the vim.
Features Images ɹ- image list(10 record) ɹ- delete ɹ- pull
ɹ- push ɹ- search ɹ- tag ɹ- build ɹ- open an image repository on browser (Docker Hub) ɹ- save an image to tarball
Features Containers ɹ- display containers(10 record) ɹ- start ɹ- stop
ɹ- restart ɹ- kill ɹ- delete ɹ- attach ɹ- run ɹ- copy file/folders ɹ- monitoring container logs ɹ- monitoring container CPU/MEM usage
Features Others ɹ- monitoring docker events ɹ- docker version info
Demo
How plugin work
+VTUFYFDVUJOHDVSMBOEDMJJO UIFCBDLHSPVOE
IUUQTEPDTEPDLFSDPNWFOHJOFEPDLFSPWFSWJFXUIF EPDLFSQMBUGPSN
:DockerContainers ! $ curl --unix-socket /var/run/docker.sock \ -X GET \
--dump-header {header_file} \ --output {response_body_file} \ http://localhost/containers/json
Plugin package • docker/api execute curl or cli to call
docker api • docker/ defined popup window filter function and parse inputs, call docker/apis • window/ management popup windows
Summary
What you can do with docker cli can also do
with docker.vim Can operate Docker in parallel with coding That is convenient