Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

docker compose up doesn't work with M1 #336

Closed
prajjwol opened this issue Aug 19, 2021 · 1 comment
Closed

docker compose up doesn't work with M1 #336

prajjwol opened this issue Aug 19, 2021 · 1 comment

Comments

@prajjwol
Copy link

prajjwol commented Aug 19, 2021

It's a known issue that some docker containers don't work with the M1 chip. docker-library/mysql#778

The version that the project is using specifically doesn't work with m1 throwing

failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:7cf2e7d7ff876f93c8601406a5aa17484e6623875e
64e7acc71432ad8e0a3d7e: not found

However, using the latest image seems to work. Maybe we can pin the latest version (8.x) instead of 5.7 here?

-    image: mysql:5.7
+    image: mysql:latest
@nina-py
Copy link
Contributor

nina-py commented Aug 24, 2021

Hi @prajjwol, thanks for bringing this up! We use MySQL 5.7 on production so we pin the image to match.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants