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 995 forks source link

unable to Automated Setup (New Project) #632

Closed rashashareef closed 2 years ago

rashashareef commented 2 years ago

I follow the same steps you put in the video and I tried the same command line you put in the description

# Run this automated one-liner from the directory you want to install your project.
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.3-p1

the following error displayed ERROR: for app Cannot start service app: driver failed programming external connectivity on endpoint magento_app_1 (082d54055160e7a3cb9958088a466edb46120d4de8f940437fbfcfaaccaf44c6): Bind for 0.0.0.0:443 failed: port is already allocated ERROR: Encountered errors while bringing up the project.

markshust commented 2 years ago

This line: port is already allocated

...tells us that there is some other service listening on port 443 (SSL). You'll need to make sure there are no existing applications or services running on your machine on ports 80, 443, 3306, etc. including any ports defined or referenced in the docker-compose.yml file.