I'm trying to install Docker on a Raspberry Pi 3.

I followed the [instructions][1] and ran:

    curl -fsSL https://get.docker.com -o get-docker.sh
    sudo sh get-docker.sh

When I do this, I get the following error:

    # Executing docker install script, commit: 2f4ae48
    + sh -c apt-get update -qq >/dev/null 
    E: The repository 'https://download.docker.com/linux/raspbian 10 Release' does not have a Release file.

I've tried to modify the `docker.list` file located at:

    /etc/apt/sources.list.d

The file contains `deb [arch=armhf] https://download.docker.com/linux/raspbian 10 stable`, but I understand that this file is downloaded/replaced when I run the previous commands. I also took a look at `/etc/apt/sources.list` but there is just 1 deb and it is related to Raspberry Pi. Nevertheless, commenting it out did not solve anything.

I navigated with my web browser to `https://download.docker.com/linux/raspbian` and I can see there is a directory there called `dists`. I tried replacing:

`https://download.docker.com/linux/raspbian 10 stable`

with:

`https://download.docker.com/linux/raspbian/dists/stretch 10 stable`

but I just the same `no release file` error when I try to run `sh get-docker.sh` again...


Does anyone have any ideas?

#Edit:
I can install Docker using the .deb files but the solution posted on the Docker website is incorrect.


  [1]: https://docs.docker.com/install/linux/docker-ce/debian/#install-using-the-convenience-script