I am running Codeception tests through phpStorm and I am running into the following issue:
Testing started at 12:05 PM ...
"[docker-compose://[/Users/reynierpm/dev/docker/docker-compose.yml, /Users/reynierpm/dev/docker/project/docker-compose.local.yml]:case-v2-apache/]:php" -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9000 -dxdebug.remote_host=host.docker.internal /opt/.phpstorm_helpers/codeception.php run --report -o "reporters: report: PhpStorm_Codeception_ReportPrinter" --no-interaction -c /var/www/codeception.yml tests/api/SendRequestApiCest.php
ERROR: Couldn't find `docker` binary. You might need to install Docker:
Process finished with exit code 1
all I can see besides what is above is the following:
Docker is up and running. phpStorm is able to find it ...
I have restarted the IDE several times without success. The only way I can make it to work is either restarting Docker which makes me take down my whole stack and bring it back up or restart the whole OS which is annoying. Not sure what I could be missing here.
I have Google this and can't find a solution, can I get some ideas in what could I be missing or if this is a bug currently?
I am using:
- Docker for Mac 18.104.22.168 (45519)
- phpStorm 2020.1.2
- MacOS Mojave 10.15.5