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
110
docker.vim
skanehira
September 26, 2019
Tweet
Share
More Decks by skanehira
See All by skanehira
build-debugger-in-rust.pdf
skanehira
1
160
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
良いユニットテストを書こう
mototakatsu
11
3.6k
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1.1k
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
300
Lookerは可視化だけじゃない。UIコンポーネントもあるんだ!
ymd65536
1
130
知られざるDMMデータエンジニアの生態 〜かつてツチノコと呼ばれし者〜
takaha4k
1
460
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
1.9k
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
200
Amazon Nova Reelの可能性
hideg
0
200
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
950
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
940
EC2からECSへ 念願のコンテナ移行と巨大レガシーPHPアプリケーションの再構築
sumiyae
3
590
“あなた” の開発を支援する AI エージェント Bedrock Engineer / introducing-bedrock-engineer
gawa
4
370
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Adopting Sorbet at Scale
ufuk
74
9.2k
Mobile First: as difficult as doing things right
swwweet
222
9k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Bash Introduction
62gerente
610
210k
The Pragmatic Product Professional
lauravandoore
32
6.4k
How GitHub (no longer) Works
holman
312
140k
Agile that works and the tools we love
rasmusluckow
328
21k
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