raspberrypi Docker image for python

  • Hello
    i am new to raspberrypi and cocker i want to install flask in raspberrypi
    After internet research i found that i can do using docker
    i have followed steps of
    from
    GitHub - LibreELEC/containers: containers for use with LibreELEC

    Code
    wget https://github.com/LibreELEC/Dockerfiles/archive/master.zip
    
    
    unzip master.zip
    
    
    cd Dockerfiles-master
    
    
    ./build.sh python x86_64


    but i am getting this error in terminal

    Quote


    ---> Running in 07f5b53a9a7e
    rpc error: code = 2 desc = "oci runtime error: exec format error"


    Here is image

    • Official Post

    you need to use the arm version, not the x86_64 version.

    Also, you don't need to build it, you can just pull the version we build

    Code
    docker run --rm libreelecarm/python /bin/sh