Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M1(2,3) Macs require docker-compose.override #267

Open
Ipstenu opened this issue Dec 1, 2023 · 0 comments
Open

M1(2,3) Macs require docker-compose.override #267

Ipstenu opened this issue Dec 1, 2023 · 0 comments

Comments

@Ipstenu
Copy link

Ipstenu commented Dec 1, 2023

Documentation should include notations about the overrides needed for use on an M1 Mac.

For example, I got this error:

[+] Running 2/4
 ⠴ webgrind Pulling                                                                                                                                   1.6s
 ⠴ mkcert Pulling                                                                                                                                     1.6s
 ! wordpress Warning                                                                                                                                  1.6s
 ✔ db Pulled                                                                                                                                          1.2s
no matching manifest for linux/arm64/v8 in the manifest list entries

And to fix it, I had to update my override to include these:

  db:
    image: mysql:8
    platform: linux/amd64/v8
  webgrind:
    platform: linux/amd64/v8
  dnsmasq:
    ports: !reset
      - "54:54/udp"

(dnsmasq is not needed for all projects, but I just have it in there to be safe since Macs are weird).

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

No branches or pull requests

1 participant