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
170
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
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
630
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
940
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
7
1.4k
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
1.9k
React 19でお手軽にCSS-in-JSを自作する
yukukotani
5
570
『改訂新版 良いコード/悪いコードで学ぶ設計入門』活用方法−爆速でスキルアップする!効果的な学習アプローチ / effective-learning-of-good-code
minodriven
28
4.2k
EC2からECSへ 念願のコンテナ移行と巨大レガシーPHPアプリケーションの再構築
sumiyae
3
590
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
1.4k
Jaspr Dart Web Framework 박제창 @Devfest 2024
itsmedreamwalker
0
150
2025.01.17_Sansan × DMM.swift
riofujimon
2
570
Amazon Nova Reelの可能性
hideg
0
200
快速入門可觀測性
blueswen
0
500
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
BBQ
matthewcrist
85
9.4k
Writing Fast Ruby
sferik
628
61k
Practical Orchestrator
shlominoach
186
10k
Code Review Best Practice
trishagee
65
17k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Agile that works and the tools we love
rasmusluckow
328
21k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.1k
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