markshust / docker-magento

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

service "phpfpm" is not running container #1 #821

Closed llgdd closed 1 year ago

llgdd commented 1 year ago

Description Stumbling upon this error on Linux. Not sure what causes it—it occurs on using almost any of the scripts placed under bin/

Steps To Reproduce

$ mkdir -p ~/Sites/magento
$ cd $_
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
$ bin/download 2.4.5-p1 community

Composer authentication required (repo.magento.com public and private keys):
    Username: PUBLICKEY
    Password: PRIVATEKEY

service "phpfpm" is not running container #1
service "phpfpm" is not running container #1
Composer auth has been set up.
Fixing filesystem ownerships...
service "phpfpm" is not running container #1
Filesystem ownerships fixed.
service "phpfpm" is not running container #1
service "phpfpm" is not running container #1

Expected Result Scripts under bin/ are expected to run and do whatever they are supposed to do normally without this error.

Actual Result Scripts under bin/ error out saying service "phpfpm" is not running container #1

llgdd commented 1 year ago

Can’t replicate anymore, it’s now working properly. Pretty sure I just messed something up. ¯_(ツ)_/¯

theshreyas commented 1 year ago

I am facing the same error, and have not done any customization.

JohnnyMa commented 1 year ago

BTW, I fixed it by allocating at least 6GB of RAM to Docker to continue. Hope it helps~