https://rancher.com/ logo
Title
o

orange-eve-26232

08/02/2022, 12:23 PM
Hello, I've got my new Macbook Pro M1, so I decided to switch Docker Desktop for Rancher Desktop. When I try to run my images (which were working fine), for each image I've got the following error:
c: applet not found
I've got no luck with my google skills so I'm asking here.
f

freezing-airplane-30363

08/02/2022, 1:42 PM
Hi, how do you run the container? are you using dockerd or containerd? Are these images available for
linux/arm64
?
o

orange-eve-26232

08/02/2022, 1:43 PM
Hello, I'm using dockerd
It's built-in images
So, I should build it first for linux/arm64
f

freezing-airplane-30363

08/02/2022, 1:46 PM
not sure, I don't have M1 at hand to try out - but I'd try to rebuild for arm64
RD is supported on M1 but I don't know if it uses amd64 over emulation or native arm64
o

orange-eve-26232

08/02/2022, 1:52 PM
oh yes
I think you're right!
Thanks for the input I'llt ry this
f

freezing-airplane-30363

08/02/2022, 1:53 PM
you are welcome, good luck
o

orange-eve-26232

08/02/2022, 2:25 PM
It works
!
I have to rebuild all of our images 😅
f

freezing-airplane-30363

08/02/2022, 2:26 PM
awesome, thanks for reporting back 🙂
you may also try something like
docker run --platform linux/amd64 <your_image>
for emulation without rebuilding images
o

orange-eve-26232

08/02/2022, 2:30 PM
I already tried it
It doesn't work
f

freezing-airplane-30363

08/02/2022, 2:39 PM
this should enable qemu-x86_64 emulator in lima
docker run --privileged --rm tonistiigi/binfmt --install amd64
o

orange-eve-26232

08/02/2022, 2:40 PM
well, I think it was already on
ps returned this
{bash} /usr/bin/qemu-x86_64 /bin/bash
but arguments were not working
f

freezing-airplane-30363

08/02/2022, 2:40 PM
ah yes, I saw that
o

orange-eve-26232

08/02/2022, 2:40 PM
bash-5.1# ps faux
faux: applet not found