试图在ubuntu上添加docker存储库,但我的错误如下:
Ign:1 https://download.docker.com/linux/ubuntu disco InRelease
Hit:2 http://archive.canonical.com/ubuntu disco InRelease
Hit:3 http://archive.ubuntu.com/ubuntu disco InRelease
Get:4 http://archive.ubuntu.com/ubuntu disco-updates InRelease [97.5 kB]
Get:5 http://archive.ubuntu.com/ubuntu disco-backports InRelease [88.8 kB]
Get:6 http://archive.ubuntu.com/ubuntu disco-security InRelease [97.5 kB]
Err:7 https://download.docker.com/linux/ubuntu disco Release
Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 10.166.17.46 3128]
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/ubuntu disco Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.下面是我尝试过的命令:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable"我也尝试了ubuntu18.04,但得到了同样的错误。
发布于 2019-09-24 15:03:25
您需要遵循从docker网站https://docs.docker.com/install/linux/docker-ce/ubuntu/安装存储库的所有步骤,您的命令仅为第4步。作为另一种选择,您可以遵循在docker网站上描述的手动安装路径。下载deb文件,然后将sudo apt install ./*.deb放在放置下载的deb文件的文件夹中。
发布于 2019-09-24 15:06:37
Snaps可以从Store中发现和安装,store是一个拥有数百万观众的应用商店。
启用管理单元
如果您正在运行Ubuntu 16.04 LTS (Xenial Xerus)或更高版本,包括Ubuntu 18.04 LTS (仿生海狸)、Ubuntu 18.10 (宇宙Cuttlefish)和Ubuntu 19.04 (Disco Dingo),您不需要做任何事情。Snap已经安装完毕,准备就绪。
sudo apt update
sudo apt install snapd # (only if not snap not installed)
sudo snap install dockerhttps://stackoverflow.com/questions/58083075
复制相似问题