下载 ubuntu 包时 Docker 安装失败

标签 docker ubuntu

我正在尝试使用找到的官方分步页面在 Ubuntu 18.04 上安装 Docker CE 18.03 here .我被困在第 4 步)sudo apt-get update .这就是我得到的:

Hit:1 http://mirror.transip.net/stack/software/deb/Ubuntu_18.04 ./ InRelease
Hit:2 http://nl.archive.ubuntu.com/ubuntu bionic InRelease 
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease 
Hit:4 http://dl.google.com/linux/chrome/deb stable Release 
Hit:5 http://nl.archive.ubuntu.com/ubuntu bionic-updates InRelease 
Hit:6 http://nl.archive.ubuntu.com/ubuntu bionic-backports InRelease 
Hit:7 http://security.ubuntu.com/ubuntu bionic-security InRelease 
Err:8 https://get.docker.com/ubuntu docker InRelease 
403 Forbidden [IP: 52.85.58.66 443]
Reading package lists... Done 
E: Failed to fetch http://get.docker.io/ubuntu/dists/docker/InRelease 403 Forbidden [IP: 52.85.58.66 443]
E: The repository 'http://get.docker.io/ubuntu docker InRelease' is not signed.
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.

访问 Err:8 https://get.docker.com/ubuntu/ 中的链接输出以下内容:
echo "# WARNING! This script is deprecated. Please use the script"
echo "# at https://get.docker.com/"
exit 1

好的,过时的链接,没问题,所以我下载了在 get.docker.com 找到的脚本并用 bash 运行它,结果如下:
# Executing docker install script, commit: 36b78b2
+ sudo -E sh -c apt-get update -qq >/dev/null
E: The repository 'http://ppa.launchpad.net/colingille/freshlight/ubuntu bionic Release' does not have a Release file.
E: Failed to fetch http://get.docker.io/ubuntu/dists/docker/InRelease  403  Forbidden [IP: 52.85.58.48 443]
E: The repository 'http://get.docker.io/ubuntu docker InRelease' is not signed.

有什么我可以尝试的吗?

最佳答案

安装确实坏了,我也遇到了。一段时间前,当我执行类似操作时,此链接帮助了我 https://gist.github.com/levsthings/0a49bfe20b25eeadd61ff0e204f50088

关于下载 ubuntu 包时 Docker 安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51468140/

相关文章:

shm_open : DSO Missing From Command Line 上的 C++ Boost 库 undefined reference

postgresql - bash脚本在docker容器中有一个postgres数据库

python - Docker-django 在连接到 postgres : psycopg2. 操作错误时抛出错误:无法连接到服务器:连接被拒绝

docker - Docker 容器的本地主机名

Docker pihole 设置停止在lighttpd 服务

tensorflow - 在树莓派上安装 tensorflow 1.9* 通过修改代码以使用 tf 2 解决

docker - 我可以在 windows 和 linux 之间共享 docker 镜像吗?

c++ - QProgressDialog::setValue 产生随机堆栈溢出

asp.net - 在 Ubuntu 中运行 ASP.NET 和 VB.Net

多个域的PHP临时上传目录