F:\VirtualMachines>docker pull arm64v8/busybox
Using default tag: latest latest:
Pulling from arm64v8/busybox
no matching manifest for linux/amd64 in the manifest list entries
The error indicates a mismatch between the architecture of your host machine (Windows PC, likely amd64
) and the requested Docker image (arm64v8/busybox
for ARM architecture). The docker pull
command won't work on your Windows machine for an ARM-based image because it's trying to pull an ARM-compatible image on an x86-based system.
Here's how to properly handle this situation:
Solution: Use Docker's Multi-Arch Capability or Emulation
Use Docker Buildx to Pull the Correct Architecture
Docker Buildx can emulate ARM architecture on your amd64
Windows system. Follow these steps:
-
Enable Buildx on Docker Desktop (Windows): Ensure Docker Desktop is installed and configured for Buildx. To check:
bashdocker buildx version
If not enabled, you may need to configure it via Docker Desktop settings.
-
Pull the ARM-specific Image: Use the
--platform
flag to specify the target architecture:bashdocker pull --platform linux/arm64 busybox
-
Save the Image: Save the image to a file for transfer:
bashdocker save -o busybox-arm.tar busybox
-
Transfer and Load on Raspberry Pi: Transfer the tar file to your Raspberry Pi (e.g., via SCP or USB) and load it:
bashdocker load -i busybox-arm.tar