[SOLVED]Cannot Install docker-ce on Debian Stretch

I tried these steps to install docker on Parrot OS,

Uninstall Old Docker:

sudo apt-get remove docker docker-engine docker.io containerd runc

Setup docker repo:

sudo apt-get update

sudo apt-get install ca-certificates curl gnupg lsb-release

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

 echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

But after this step when I run the command “sudo apt update” I was getting the error
“Err:4 Index of linux/debian/ n/a Release
404 Not Found [IP: 13.249.208.21 443]”

then I run the command this command: $$(lsb_release -cs) to check the release version but I got “-bash: n/a: No such file or directory”

so I put “bullseye” in place of $(lsb_release -cs)

Install Docker:
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io