Docker Engine installation Error: :404 Not Found with Ubunto 22.04.3 LTS

Followed instruction to install docker Engine on Ubunto 22.04.3 LTS using Apt Repository.

Add the repository to Apt sources:

vboxglenn@Ubunto22:~$ echo “deb [arch=”$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] Index of linux/ubuntu/
“$(. /etc/os-release && echo “VERSION_CODENAME”)” stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
vboxglenn@Ubunto22:~$ sudo apt-get update
Err:4 Index of linux/ubuntu/ VERSION_CODENAME Release
404 Not Found [IP: 443]

Would appreciate any help/hints provided.

Temporary server outage? Try again?

It would really help if you could format your post properly using code blocks as it is expected on every technical forum. Please, follow the below guide:

Regarding the issue:

You just echo-d a string: “VERSION_CODENAME”. Of course that doesn’t exist. It is supposed to be a variable.$VERSION_CODENAME