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
100
docker.vim
skanehira
September 26, 2019
Tweet
Share
More Decks by skanehira
See All by skanehira
Rustではじめる負荷試験
skanehira
5
1.1k
Wellcome Vim World
skanehira
3
620
VimConf 2023 Tiny
skanehira
1
610
Deno Fest 2023
skanehira
0
180
RustでWasm Runtimeを書いた in WebAssembly night #11
skanehira
0
710
RustでWasm Runtimeを書いた in UV_Study
skanehira
1
440
New Docker Compose
skanehira
5
1.3k
Vim/NeovimでGitHubを使う
skanehira
0
150
作業効率アップ!オススメTUIツール5選
skanehira
2
690
Other Decks in Programming
See All in Programming
ECMAScript、Web標準の型はどう管理されているか / How ECMAScript and Web standards types are maintained
petamoriken
3
370
Mastering AsyncSequence - 使う・作る・他のデザインパターン(クロージャ、Delegate など)から移行する
treastrain
3
1.3k
Amebaチョイス立ち上げの裏側 ~依存システムとの闘い~
daichi_igarashi
0
220
マイグレーションコード自作して File-Based Routing に自動移行!! ~250 ページの歴史的経緯を添えて~
cut0
1
240
BasicBasic認証
sadnessojisan
5
2.5k
詳解UIWindow
natmark
3
2k
null or undefined
susisu
20
4k
dRuby 入門者によるあなたの身近にあるdRuby 入門
makicamel
4
340
複雑さに立ち向かうための ソフトウェア開発入門
shiz
2
580
Ruby Parser progress report 2024
yui_knk
2
180
Rubyのobject_id
qnighy
6
1.3k
労務ドメインを快適に開発する方法 / How to Comfortably Develop in the Labor Domain
yuki21
1
250
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Large-scale JavaScript Application Architecture
addyosmani
508
110k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.9k
What the flash - Photography Introduction
edds
67
11k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
109
6.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
45
4.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
325
21k
Designing with Data
zakiwarfel
98
5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
24
2k
Visualization
eitanlees
142
15k
Gamification - CAS2011
davidbonilla
79
4.9k
Code Reviewing Like a Champion
maltzj
518
39k
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