当我关注社区码头时,我遇到了以下问题:
sudo add-apt-repository \
> "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
> $(lsb_release -cs) \
> stable"
[sudo] password for yogesh:
Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
Get:2 http://in.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:4 https://download.docker.com/linux/ubuntu focal InRelease
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:6 http://packages.microsoft.com/repos/vscode stable InRelease
Err:7 https://download.docker.com/linux/ubuntu focal Release
404 Not Found [IP: 54.182.0.11 443]
Hit:8 http://dl.google.com/linux/chrome/deb stable Release
Hit:10 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:11 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Run Code Online (Sandbox Code Playgroud)
iBu*_*Bug 62
更新:截至 5 月 15 日凌晨 3 点,官方 Docker 存储库可用于 Ubuntu Focal,因此您可以按照Ubuntu 上的安装指南启动并运行 Docker。
另一种选择是安装 Ubuntu 提供的 Docker 版本:
sudo apt install docker.io
Run Code Online (Sandbox Code Playgroud)
很久以前,由于docker.io
上游(Debian)的包太旧了,对此有强烈的反对——现在已经不是这样了。对于 Focal,docker.io
目前(2020 年 4 月 24 日)在19.03.8-0ubuntu1
,对于大多数 Docker 工作负载来说,这是一个令人满意的新版本。
不要安装docker
错误 - 它曾经是系统托盘应用程序,此后已被替换为gnome-shell-extension-ubuntu-dock
. 如果docker
您不小心安装了该软件包,则可以安全地删除它。
YJD*_*Dev 47
发布文件现已可用。遵循 docker 社区指南。
截至今天 4 月 28 日,Ubuntu 20.04 LTS 焦点的发布文件不可用。
因此,为了按照docker 社区链接的指导在 Ubuntu 20.04 LTS 焦点版本上安装 docker
您可以更改以下命令:
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
Run Code Online (Sandbox Code Playgroud)
到
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
bionic \
stable"
Run Code Online (Sandbox Code Playgroud)
我们正在做的是使用仿生(Ubuntu 18.04 LTS)发布文件。
其余命令没问题,也适用于 20.04。
还要确保在安装 docker 之前从/etc/apt/sources.list 中删除以下条目(如果存在)
deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
43445 次 |
最近记录: |