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
94
docker.vim
skanehira
September 26, 2019
Tweet
Share
More Decks by skanehira
See All by skanehira
Wellcome Vim World
skanehira
3
610
VimConf 2023 Tiny
skanehira
1
580
Deno Fest 2023
skanehira
0
160
RustでWasm Runtimeを書いた in WebAssembly night #11
skanehira
0
680
RustでWasm Runtimeを書いた in UV_Study
skanehira
1
430
New Docker Compose
skanehira
5
1.3k
Vim/NeovimでGitHubを使う
skanehira
0
150
作業効率アップ!オススメTUIツール5選
skanehira
2
680
Dockerのプラグインの話
skanehira
0
290
Other Decks in Programming
See All in Programming
Webエディタライブラリ 「CodeMirror」から学ぶ Webアプリ開発のテクニック
ryosukeigarashi
0
250
Terraformテスト入門
msato
0
520
継続的な活動で築く地方エンジニアの道
myamashii
2
350
DDDを志して3年経ったら「DDDの皮を被ったクリーンアーキテクチャ」になった話【デブサミ2024夏】
texmeijin
1
620
SRE チーム立ち上げ前に考えたこと・取り組んだこと / Considerations and Preparations Before Establishing an SRE Team
mackey0225
3
320
Architectures with Lightweight Stores: New Rules and Options
manfredsteyer
PRO
0
100
リハビリmruby
kishima
1
160
初心者がおさえておきたいAWS CDKのベストプラクティス 2024
konokenj
15
7.3k
SDCon2024: Enabling DevOps and Team Topologies thru architecture: architecting for fast flow
cer
PRO
0
780
実用的かつリーズナブルな 「Azure × Gemini × LINE」~キャラクターBot 実装ライブデモ~
tomodo_ysys
1
170
Clean Architecture by TypeScript & NestJS
ryounasso
0
150
OpenAI/Gemini APIを使って EPUBを翻訳するCLIツールをつくってみた
tomiyan
0
790
Featured
See All Featured
How to name files
jennybc
67
96k
What's new in Ruby 2.0
geeforr
338
31k
Embracing the Ebb and Flow
colly
81
4.3k
Clear Off the Table
cherdarchuk
89
320k
Producing Creativity
orderedlist
PRO
340
39k
Web development in the modern age
philhawksworth
203
10k
How to Ace a Technical Interview
jacobian
274
23k
Rebuilding a faster, lazier Slack
samanthasiow
78
8.5k
How STYLIGHT went responsive
nonsquared
93
5k
Unsuck your backbone
ammeep
666
57k
Building Flexible Design Systems
yeseniaperezcruz
323
37k
Statistics for Hackers
jakevdp
792
220k
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