This Repository is no longer to maintenanced, please use denops-docker.vim instead.
This is vim plugin that wraps docker-compose.
If you want to manage docker images, containers, and more, you can use docker.vim
- docker-compose
- docker cli
- Vim >= 8.1.2021
dein.vim
[[plugins]]
repo = 'skanehira/docker-compose.vim'
vim-plug
Plug 'skanehira/docker-compose.vim'
Then run:
:PlugInstall
If {file}
is not specified, the plugin will find
docker-compose.yaml
or docker-compose.yml
from the current directory and use it.
vim ex command | docker-compose command |
---|---|
DockerCompose {args} |
docker-compose {args} |
DockerComposeList {file} |
docker-compose -f {file} ps |
DockerComposeLogs {file} |
docker-compose -f {file} logs |
DockerComposeUp {file} |
docker-compose -f {file} up |
DockerComposeDown {file} |
docker-compose -f {file} down |
DockerComposeDownAll {file} |
docker-compose -f {file} down --rmi all -v |
DockerComposeStart {file} |
docker-compose -f {file} start |
DockerComposeStop {file} |
docker-compose -f {file} stop |
DockerComposeRestart {file} |
docker-compose -f {file} restart |
DockerComposeBuild {file} |
docker-compose -f {file} build |
DockerComposePull {file} |
docker-compose -f {file} pull |
DockerComposeConfig {file} |
docker-compose -f {file} config |
DockerComposeServices {file} |
docker-compose -f {file} services |
DockerComposeCreate {file} |
docker-compose -f {file} up --no-start |
DockerComposeRemove {file} |
docker-compose -f {file} rm -f |
" open terminal way
let g:docker_compose_open_terminal_way = 'top'
key | operation |
---|---|
u |
start container |
d |
stop container |
j |
next container |
k |
previous container |
q |
close window |
key | operation |
---|---|
u |
start service |
s |
stop service |
j |
next service |
k |
previous service |
q |
close window |
skanehira