cameradar icon indicating copy to clipboard operation
cameradar copied to clipboard

M1 Macbook (linux/arm64/v8) support

Open OsintUK opened this issue 1 year ago • 5 comments

I'm running Kali Linux from VMware Fusion on an M1 MacBook.

When I run the docker I get the following issue and was wondering is there a way I can run it:

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

OsintUK avatar Jul 20 '23 21:07 OsintUK

I haven't tried thus but when the m1 was released I saw this on Twitter. ZSH alias for dockerAdd these aliases to your .zshrc and start docker w your terminal (after downloading m1 docker version & running “arm”) ✌🏼# Switch from m1 to rosetta intel emulatoralias arm="env /usr/bin/arch -arm64 /bin/zsh --login"alias intel="env /usr/bin/arch -x86_64 /bin/zsh --login"Try use export DOCKER_DEFAULT_PLATFORM=linux/amd64 to make it as defaultMichael HubbardTwitter - @rikosintieblog - mwhubbard.blogspot.comGitHub - github.com/rikosintiewww.linkedin.com/in/mwhubbardMinilock ID - 22LXKQertj4op8vCjpWNmGJyaGPryp3BEFv8d2y4rTzG4Q-- When encryption is outlawed only outlaws will have encryption"Freedom is the ability to do something that somebody else disagrees with. To make a choice that somebody else wouldn't make. The problem with disrupting our right to privacy is that at the same time we do that, we disrupt our right to free speech. And without the ability to speak freely, a democracy is no longer a democracy." Ladar LevinsonOn Jul 20, 2023, at 14:13, OsintUK @.***> wrote: I'm running Kali Linux from VMware Fusion on an M1 MacBook. When I run the docker I get the following issue and was wondering is there a way I can run it: WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

rikosintie avatar Jul 21 '23 04:07 rikosintie

Thanks, I have tried this but it doesn't seem to work

OsintUK avatar Jul 21 '23 09:07 OsintUK

@Ullaakut Any advice?

OsintUK avatar Jul 21 '23 14:07 OsintUK

Hi @OsintUK. I do not have such a machine, so besides compiling it yourself (which is going to be very tricky, due in part to #320 which is still not fixed) I don't have much to suggest, sorry.

I had some time lately to start doing some work on Cameradar, and I have a local branch that addresses some of the current issues on master, but it's far from ready, and I don't have much time anymore.

Ullaakut avatar Jul 24 '23 15:07 Ullaakut

My solution was running it in a multipass vm and using docker run -t ullaakut/cameradar:arm64 as seen here: https://github.com/Ullaakut/cameradar/issues/333#issuecomment-1792619058

Didn't try on baremetal, docker was having some issues launching with my current operation restrictions (RAT on a macbook with shell-only access atm)

bc0la avatar Jul 22 '24 01:07 bc0la