frappe_docker icon indicating copy to clipboard operation
frappe_docker copied to clipboard

Unable to spin up Docker containers on Apple Silicon: No matching manifest for ARM in the manifest

Open basperheim opened this issue 5 months ago • 0 comments

1. Is your issue relevant to the frappe_docker or the main Frappe framework? https://github.com/frappe/frappe . if It's the latter, publish the issue there.

The issue is with frappe_docker.

3. Use the search function before creating a new issue. Duplicates will be closed and directed to the original discussion.

I tried looking for an open ARM issue already.

5. When making a bug report, make sure you provide all the required information. The easier it is for maintainers to reproduce, the faster it'll be fixed.

Simply fails when I do docker compose -f pwd.yml up -d as instructed.

7. If you think you know what the reason for the bug is, share it with us. Maybe put in a PR 😉

Not sure exactly.

Description of the issue

~/Downloads/frappe_docker $ docker compose -f pwd.yml up -d
WARN[0000] /Users/benji/Downloads/frappe_docker/pwd.yml: `version` is obsolete 
[+] Running 4/11
 ⠋ create-site Pulling                                                                                                                                                                                         7.0s 
 ⠋ scheduler Pulling                                                                                                                                                                                           7.0s 
 ✘ frontend Error       context canceled                                                                                                                                                                       7.0s 
 ⠋ configurator Pulling                                                                                                                                                                                        7.0s 
 ✘ queue-long Error     context canceled                                                                                                                                                                       7.0s 
 ⠋ websocket Pulling                                                                                                                                                                                           7.0s 
 ⠋ backend Pulling                                                                                                                                                                                             7.0s 
 ✘ redis-cache Error    context canceled                                                                                                                                                                       7.0s 
 ⠋ redis-queue Pulling                                                                                                                                                                                         7.0s 
 ✘ db Error             context canceled                                                                                                                                                                       7.0s 
 ⠋ queue-short Pulling                                                                                                                                                                                         7.0s 
no matching manifest for linux/arm64/v8 in the manifest list entries

Context information (for bug reports)

Running arm64 macOS Sonoma with Docker Desktop (v4.32.0) and Docker Engine v27.0.3:

$ fastfetch
'                     ..'         benji@MacBook-Pro
                 ,xNMM.           -----------------
               .OMMMMo            OS: macOS Sonoma 14.6.1 arm64
               lMM"               Host: MacBook Pro (14-inch, 2021)
     .;loddo:.  .olloddol;.       Kernel: Darwin 23.6.0
...
                                  CPU: Apple M1 Pro (8) @ 3.23 GHz
                                  GPU: Apple M1 Pro (14) @ 1.30 GHz [Integrated]
                                  Memory: 13.06 GiB / 16.00 GiB (82%)
                                  Swap: 1.75 GiB / 3.00 GiB (58%)
                                  Disk (/): 411.35 GiB / 460.43 GiB (89%) - apfs [Read-only]
                                  Local IP (en4): 192.168.18.143/24
                                  Battery: 96% [AC connected]
                                  Power Adapter: 67W USB-C Power Adapter
                                  Locale: en_US.UTF-8

Steps to reproduce the issue

  1. Just run docker compose -f pwd.yml up -d on an ARM64 version of macOS

Observed result

Fails to build because of "no matching manifest for linux/arm64/v8 in the manifest list entries".

Expected result

Should be able to make a Docker setup work on ARM machines as well.

Stacktrace / full error message if available

(paste here)

basperheim avatar Aug 29 '24 07:08 basperheim