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
87
docker.vim
skanehira
September 26, 2019
Tweet
Share
More Decks by skanehira
See All by skanehira
Wellcome Vim World
skanehira
3
600
VimConf 2023 Tiny
skanehira
1
510
Deno Fest 2023
skanehira
0
140
RustでWasm Runtimeを書いた in WebAssembly night #11
skanehira
0
590
RustでWasm Runtimeを書いた in UV_Study
skanehira
1
410
New Docker Compose
skanehira
5
1.3k
Vim/NeovimでGitHubを使う
skanehira
0
140
作業効率アップ!オススメTUIツール5選
skanehira
2
660
Dockerのプラグインの話
skanehira
0
280
Other Decks in Programming
See All in Programming
Folding Cheat Sheet #4
philipschwarz
PRO
0
100
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
1k
Site Reliability Engineering for GMO
pyama86
9
1.1k
Netty Chicago Java User Group 2024-04-17
sullis
0
210
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
10
1.7k
Open standards for building event-driven applications in the cloud
meteatamel
0
190
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
1.1k
Tailwind CSSを本気でカスタマイズする方法
fsubal
15
5.6k
CDKコントリビュートの最初の壁を越えよう! -簡単issueの見つけ方-
badmintoncryer
3
290
Webアプリをできるだけコードを手書きしないで作ってみる
tomokusaba
2
190
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
4
480
AmperとFleetを使ったAndroidアプリ
yoppie
0
270
Featured
See All Featured
Gamification - CAS2011
davidbonilla
77
4.6k
Large-scale JavaScript Application Architecture
addyosmani
504
110k
How GitHub (no longer) Works
holman
305
140k
Why Our Code Smells
bkeepers
PRO
331
56k
Stop Working from a Prison Cell
hatefulcrawdad
267
19k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Automating Front-end Workflow
addyosmani
1357
200k
Imperfection Machines: The Place of Print at Facebook
scottboms
261
12k
Statistics for Hackers
jakevdp
790
220k
Building Adaptive Systems
keathley
32
1.9k
Scaling GitHub
holman
457
140k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
126
32k
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