Docker Compose v2 issue

I use Docker Compose V2. For all my docker-based projects I can succesfuly run in the terminal:

docker compose up

I also created an alias so that I can do the same using:

docker-compose up

I can't get it to work with PhpStorm though. Here is what I'm getting when trying to add a CLI interpreter:

Note that the same error message appears regardless of Docker settings:

[Use Compose V2 (beta) checked]

[Use Compose V2 (beta) unchecked]

1 comment

It's IDEA-276907. Hopefully, it'll be fixed in 2022.3. In the meanwhile, please download a proper docker-compose executable and use it instead of the alias.


Please sign in to leave a comment.