1

I have used the docker image Rotating TOR on amd64 architectures with no problem. Now I try to run the same image on Raspberry OS (arm 32 bit) but I have not succeeded.

This is the error when executing the image:

$ docker run -d -p 5566:5566 -p 4444:4444 --env tors=25 mattes/rotating-proxy
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested

I have tried adding platform linux/adm64 after the run but the image does not work either.

Does anyone know how to run this image on Raspberry OS or is there just no way to do it? Thanks for the help.

bruxs
  • 103
  • 5
  • To my knowledge it won't work unless an ARM image is used. The maintainer of that image only provides amd64 arch image. – im_baby Aug 12 '21 at 21:16

2 Answers2

0

That won't work

Docker is a virtualisation platform, not an emulator. It cannot be used to run images from one architecture on another (AMD64 on ARM or vice versa). You need a matching image (or install the ARM version directly on the PI, if there is one).

PMF
  • 14,535
  • 3
  • 23
  • 49
0

You can run docker images across platforms with QEMU, which is an emulator.

Docs: https://dbhi.github.io/qus/

Docker images: https://github.com/multiarch/qemu-user-static

You can run QEMU with one of the images maintained at the above link with something like:

docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

Which should then allow you to run your x86 images, e.g.:

docker run --rm -t i386/ubuntu uname -m
Connor Dibble
  • 517
  • 3
  • 13