After some research it seems it is an error with the container architecture of this image: webdevops/php-apache.
I tried to add platform: linux/amd64 in the docker-compose.yml and docker-compose.override.yml. Also tried to add FROM --platform=linux/amd64 ${IMAGE_PHP}:${IMAGE_PHP_VERSION} in the dockerfile for the app container. But this is not working.
How to reproduce
On MacOS with M1 or newer processors the ./psh.phar docker:start command runs success fully but the app_server container stops always.
Hi guys... is there a fix on the way? There is also a duplicate #179 open since april. Maybe you could at least provide a quickfix? That would be great. Thx.
PHP Version
7.4
Shopware Version
6.4
Expected behaviour
Running shopware locally with docker on my M1 Mac.
Actual behaviour
While staring the docker setup on Mac with M1 (ARM) processor the app_server container stops immediately with this error message:
After some research it seems it is an error with the container architecture of this image: webdevops/php-apache. I tried to add
platform: linux/amd64
in the docker-compose.yml and docker-compose.override.yml. Also tried to addFROM --platform=linux/amd64 ${IMAGE_PHP}:${IMAGE_PHP_VERSION}
in the dockerfile for the app container. But this is not working.How to reproduce
On MacOS with M1 or newer processors the
./psh.phar docker:start
command runs success fully but theapp_server
container stops always.