Open phaberest opened 1 year ago
Turns out it works if I force _docker_compose_cmd
function to always return docker-compose
even though I have docker compose
❯ docker compose version
Docker Compose version v2.13.0
I have the same problem.
I ended up hardcoding docker-compose at least it works for now. Will try to give it another look, but as of now I just needed it to work
I ended up hardcoding docker-compose at least it works for now. Will try to give it another look, but as of now I just needed it to work
I did the same.
I'm trying to call
artisan
and hitting tab inside a project that uses app as docker container name for the laravel instance, but I'm getting the errorIf I manually call the
docker-compose exec
it worksAnd the weird thing is that if I call the same command you are using inside the plugin to get the container name I get
app
as container nameAfter investigating a bit, looks like
docker_compose_service_name
is empty when executed from the pluginOS: MacOS 13.1 (22C65) on a Macbook M1 2021 Shell: zsh 5.8.1 (x86_64-apple-darwin22.0) with Oh My Zsh Docker: Docker version 20.10.21, build baeda1f