docker icon indicating copy to clipboard operation
docker copied to clipboard

docker: no matching manifest for linux/arm64/v8 in the manifest list entries.

Open Dymirt opened this issue 3 years ago • 1 comments

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

Dymirt avatar Sep 22 '22 22:09 Dymirt

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.

ElephantOverlord avatar Apr 18 '23 12:04 ElephantOverlord