markshust / docker-magento

Mark Shust's Docker Configuration for Magento
https://m.academy/courses/set-up-magento-2-development-environment-docker/
MIT License
2.52k stars 992 forks source link

Configure Remote PHP Interpreter - cannot run program error #1203

Open its-leofisher opened 1 month ago

its-leofisher commented 1 month ago

Description While configuring remote php interpreter and adding composer.yaml files, docker compose is not found.

Steps To Reproduce

  1. Following these steps: https://courses.m.academy/courses/set-up-magento-2-development-environment-docker/lectures/9748834

Expected Result Able to select phpfpm

Actual Result

image
YevhenZvieriev commented 1 month ago

Hi, @its-leofisher

Make sure that Docker Compose is installed on your system. You can check this by running docker-compose --version

its-leofisher commented 1 month ago

Hi, @its-leofisher

Make sure that Docker Compose is installed on your system. You can check this by running docker-compose --version

Thanks @YevhenZvieriev

For someone in the future. I had to switch settings in Docker Desktop in Advanced settings from User to System, which made docker-compose available in CLI Settings:

image

Location:

image

Restarted my computer, ran bin/start, went through the process in phpstorm again, and error is gone.

its-leofisher commented 1 month ago

Ah nevermind I'm getting this now:

image

Containers are running:

image