Does Docker Compose to work in IntelliJ?
Answered
Does docker-compose work in Intellij?
If yes how?
I have been using it fine in RubyMine, but I cannot get it to work in IntelliJ.
What's different?
Error Message:
Deploying 'Compose: docker/docker-compose.yml'...
Failed to deploy 'Compose: docker/docker-compose.yml': Cannot run program "docker-compose": error=2, No such file or directory
Thanks
Please sign in to leave a comment.
Oh brother for some reason IntelliJ can't find the executable docker-compose! Argh!
Needed to go into the Docker cloud dialogue and tell it where the executable was located.
In Rubymine, do the following to ensure that docker-compose is correctly found after adding a "docker deployment" that uses "docker-compose.yml" from Run/Edit Configuration.
Click "Apply", Then click "OK"
docker-compose will now properly be executed when you "Run" the "docker deployment" configuration.
I tried Anthony's answer on IntelliJ 2020.3 and it solve my problem, thanks