Open Dymirt opened 1 year ago
I have the same issue. While the image runs on Apple M* hardware through emulation, it runs much slower than on the native AMD64 architecture the image is built for. It's still ok for development, albeit slow.
But Hetzner, a very large cloud provider in Europe, and Oracle offer ARM-based VPS machines and it would be great to be able to run the Prestashop Docker image on ARM-based servers, since I imagine they will only become more prevalent in the future.
Error coupes when trying to run following command on MacBook with m1 chip.
launch mysql 5.7 container
$ docker run -ti --name some-mysql --network prestashop-net -e MYSQL_ROOT_PASSWORD=admin -p 3307:3306 -d mysql:5.7
To solve this issue run:
docker run -ti --name some-mysql --network prestashop-net -e MYSQL_ROOT_PASSWORD=admin -p 3307:3306 -d --platform linux/amd64 mysql:5.7
and$ docker run -ti --name some-prestashop --network prestashop-net -e DB_SERVER=some-mysql -p 8080:80 -d --platform linux/amd64 prestashop/prestashop