-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
support for apple silicon linux/arm64/v8 platform #2763
Comments
|
i have the same question too. |
same error here, except when compiling to wasm with rust lang it causes a seg fault. Cargo also wont exit and the fans turn on full blast and wont stop. My issue could just be an issue with the rust lang compiler itself however, and only related to this thread by the warning
|
I have the same problem with M1 as well.
|
@edmondliang you are trying to run amd64 Linux build on arm64 Mac OS. This is not expected to work. |
@triscuitcircuit why do you think your problem is related to cAdvisor? |
@iwankgb probably not, I am able to view whats going on in the containers without a problem. It seems to be an issue with Qemu or Rustc itself but im not really sure which one. |
@iwankgb got it.. could you help me find out exactly where its been failing ? |
@vynu the problems seems to be located in runc that cAdvisor uses to get information from Fixing it is a bit complicated, because:
|
aah!! gotcha ... |
This is a docker problem in version 20. |
@nouaman yes, it is part of the problem. Another one is that Apple hardware seem not to expose certain files in |
@vynu can you provide me with the following (all from Apple M1 system):
|
The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "npm start": executable file not found in $PATH: unknown. |
I am getting same issue on my M1 MacAir when tried to run a docker image. Any work arounds ?? Appreciate your responses. Thank you! |
@vynu @kirankumar3054 can you provide:
Both of the artifacts must be retrieved from Linux VM running on m1 system. |
@vynu @kirankumar3054 who managed to solve the problem? |
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested I'm using Macbook pro M1! Help Please.....! |
Same problem on M1 ! WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested |
Having the same issue till now! |
I have same issue on MacBook Pro M1 also. |
Hi. I'm using a Macbook Pro M1. Whenever I run this command I get an error: docker run -d --name MySQLServerTest -e 'ACCEPT_EULA=Y' -p 1433:1433 microsoft/mssql-server-linux WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested Any workarounds? |
Building cadvisor from source will help you all. Package and/or arm Docker image are not available yet. |
I'm having the same issue. But as commented above, the arm image is not available yet for the M1 processors. We should wait for it or run a VM with Windows and use the classis SMSS there. |
Same error for me! The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested Any workarounds? |
Guys, did add "--platform linux/amd64" fix your problem? |
same problem 😩 |
+1 |
is there any solution? |
Vlw funcionou pra mim também |
@Y2Data Tried running a legacy project inside Docker. Got same error. With the
|
is m1 mac cant use normal arm64 image? |
+1 |
+1 |
Thanks @Ianyliu. I was placing the |
Same error on M1 pro! Are there any solutions for this issue?
|
thank you so much |
+1 |
Did I get it right that v.044.1-test provides arm64 support? |
This works for me, Mac Pro M1, macOS Monterey 12.4 |
Yes. Something like |
|
does above link solved this issue ? |
Fixed in #3141 (cAdvisor v0.45.0 now has a multi arch image). |
@spkane it worked. Thanks a lot :-) |
Add |
Thanks @khaledalam - adding the I was additionally passing |
I'm having same error message running: docker run -t mcr.microsoft.com/mssql/server:2022-latest --platform linux/x86_64 -d --name sql_server_test -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=xxxxxxxxxxxxxx' -p 1433:1433 WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested |
is this resolved now? |
I'm using version: "3.8"
services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.47.2
ports:
- 8080:8080
privileged: true
devices:
- /dev/kmsg
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/machine-id:/etc/machine-id:ro
- /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:ro |
I had the same problem with Cadvisor and the below configuration worked for me:
|
ran v0.38.6 on Apple Silicon chip, observed error/warning : The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
container status Exited (255)
might need to use docker BuildX for multi platform
NOTE
built new image using Dockerfile with buildx --platform linux/arm64/v8 , container spun up successfully, but hitting UI 8080 showing following error:
failed to get container "/" with error: unable to find data in memory cache
The text was updated successfully, but these errors were encountered: