首页 > 解决方案 > Error installing Docker `https://download.docker.com/linux/ubuntu focal Release 404 Not Found`

问题描述

I'm following these instructions to install Docker.

When I reach this command:
sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"

I get the following error

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.

标签: linuxdocker

解决方案


Given focal in the error message, I believe you are using Ubuntu 20.04 pre-release build. For that release, package is not available here https://download.docker.com/linux/ubuntu/dists/ yet.


推荐阅读