Linux mgcl1n1 5.10.95-1-MANJARO-ARM-RPI #1 SMP PREEMPT Tue Feb 1 13:52:48 UTC 2022 aarch64 GNU/Linux
issuing the following command:
docker run -it drone/drone-runner-docker:1.8-linux-arm64 sh
I am getting the following 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
drone-runner-docker: error: required key DRONE_RPC_HOST missing value, try --help
docker run -it drone/drone-runner-docker:1.8-linux-arm64 --platform=arm64 sh
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
drone-runner-docker: error: unknown long flag '--platform', try --help
This --platform flag needs to come before the image name, otherwise docker assumes you are passing the flag to the image entrypoint, which will cause a failure, since this is not a valid flag for the entrypoint.
docker run --platform=arm64 -it drone/drone-runner-docker:1.8-linux-arm64