The repository 'https://download.docker.com/linux/ubuntu bionic Release' does not have a Release file. code example
Example: The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
bionic \
stable"