Docker on raspberry pi 64 OS

sudo docker run --rm -it -v /home/john/Downloads/kneron_plus/python/example:/docker_mount --platform linux/arm64 kneron/toolchain:latest


Unable to find image 'kneron/toolchain:latest' locally


latest: Pulling from kneron/toolchain


Digest: sha256:b2e0a6361d1d0f18b9e1f2cbf5fe3593a936791db1736c53423b1b1e1053ed7e


Status: Image is up to date for kneron/toolchain:latest


docker: image with reference docker.io/kneron/toolchain:latest was found but does not match the specified platform: wanted linux/arm64, actual: linux/amd64.


See 'docker run --help'.,我現在在raspberry ,pi4的ubuntu運行上,好像不支持arm64

Comments

  • edited September 2024

    您好,

    Kneron toolchain只能用intel/amd的CPU跑,所以在ARM架構上跑不了 (除非ARM CPU上的docker可以模擬x86_64的指令)。我們會建議您使用x86_64的環境。如果您用的是x86的話,就可以用這個command跑:

     sudo docker run --rm -it -v /home/john/Downloads/kneron_plus/python/example:/docker_mount kneron/toolchain:latest


    Update: 關於會支持toolchain的OS,請參照: 2. Toolchain Deployment - Document Center (kneron.com)


The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.