安装 Docker 时出错`https://download.docker.com/linux/ubuntu focus Release 404 Not Found`

fin*_*ian 1 linux docker

我正在按照这些说明安装 Docker。

当我到达这个命令时:
sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"

我收到以下错误

Err:11 https://download.docker.com/linux/ubuntu focal Release 404 Not Found [IP: 2600:9000:2177:b200:3:db06:4200:93a1 443] Reading package lists... Done E: The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file.

aka*_*uko 5

由于focal错误消息,我相信你正在使用Ubuntu 20.04的预发布版本。对于该版本,这里的软件包尚不可用https://download.docker.com/linux/ubuntu/dists/