perftools / xhgui

Web interface for XHProf profiling data can store data in MongoDB or PDO database
1.65k stars 341 forks source link

mongo The requested image's platform (linux/amd64) does not match the detected host platform #498

Open mayankguptadotcom opened 2 months ago

mayankguptadotcom commented 2 months ago

I'm trying to install xhgui using composer on Apple Mac (m2) with OS X 14.3 (Sonoma) but getting the following error

mongo The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s

mayankguptadotcom commented 2 months ago

This is the exact log in terminal

[+] Running 2/2
 ✔ Container xhgui-xhgui-1                                                                                                                              Recreated0.1s   Recreate                                                                                                   0.1s
[+] Running 2/3gui-mongo-1                                                                                                                   ✔ Container xhgui-xhgui-1                                                                                                                              Recreated0.1s ge's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform wa[+] Running 2/3gui-mongo-1                                                                                                                   ✔ Container xhgui-xhgui-1                                                                                                                              Recreated0.1s ge's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform wa[+] Running 2/3gui-mongo-1                                                                                                                   ✔ Container xhgui-xhgui-1                                                                                                                              Recreated0.1s ge's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform wa[+] Running 2/3gui-mongo-1                                                                                                                   ✔ Container xhgui-xhgui-1                                                                                                                              Recreated0.1s ge's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform wa[+] Running 2/3gui-mongo-1                                                                                                                   ✔ Container xhgui-xhgui-1                                                                                                                              Recreated0.1s ge's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform wa[+] Running 2/3gui-mongo-1                                                                                                                   ✔ Container xhgui-xhgui-1                                                                                                                              Recreated0.1s ge's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform wa[+] Running 3/3gui-mongo-1                                                                                                                   ✔ Container xhgui-xhgui-1                                                                                                                              Recreated0.1s ge's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform wa[+] Running 3/3gui-mongo-1                                                                                                                   ✔ Container xhgui-xhgui-1                                                                                                                              Recreated0.1s ge's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform wa[+] Running 3/3gui-mongo-1                                                                                                                   ✔ Container xhgui-xhgui-1                                                                                                                              Recreated0.1s ge's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform wa[+] Running 3/3gui-mongo-1                                                                                                                   ✔ Container xhgui-xhgui-1                                                                                                                              Recreated0.1s ge's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform wa[+] Running 3/3gui-mongo-1                                                                                                                   ✔ Container xhgui-xhgui-1                                                                                                                              Started0.1s mage's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform wa ✔ Container xhgui-mongo-1                                                                                                                              Started0.8s
 ! mongo The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s

re-running it gave me this...

[+] Running 4/4
 ✔ Network xhgui_default                                                                                                                                Created                                                           0.1s
 ✔ Container xhgui-mongo-1                                                                                                                              Started                                                           0.1s
 ✔ Container xhgui-xhgui-1                                                                                                                              Started                                                           0.1s
 ! mongo The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested                                                                   0.0s