Forget your containers!
This plugin will handle docker-compose based containers automatically:
- start them when entering a directory with a
docker-composeconfiguration - stop them when leaving a directory with a
docker-composeconfiguration
Containers are started through podman-compose if available, docker-compose
otherwise.
{
"pipoprods/docker-compose.nvim",
dependencies = {
"akinsho/toggleterm.nvim",
},
config = true,
}There's nothing to be done for a normal usage. The plugin will automatically handle your containers startup/cleanup.
require('docker-compose').up()
require('docker-compose').down()
require('docker-compose').kill()