全球主机交流论坛

标题: locvps docker有安装成功的吗?我的好像安装不了!! [打印本页]

作者: 握草    时间: 2024-9-30 17:40
标题: locvps docker有安装成功的吗?我的好像安装不了!!
locvps  docker有安装成功的吗?我的好像安装不了!!
作者: Ronin    时间: 2024-9-30 17:41
没问题
作者: tai    时间: 2024-9-30 17:42
没问题
作者: 握草    时间: 2024-9-30 17:43
Ronin 发表于 2024-9-30 17:41
没问题

我的debian11安装不了,你用什么系统呢?安装命令能分享一下吗?
作者: 握草    时间: 2024-9-30 17:44
tai 发表于 2024-9-30 17:42
没问题

官方一键脚本安装不了
作者: 似毛非毛    时间: 2024-9-30 17:46
你把报错发出来啊,官网一键脚本我装了。没问题。
作者: Ronin    时间: 2024-9-30 17:47
握草 发表于 2024-9-30 17:43
我的debian11安装不了,你用什么系统呢?安装命令能分享一下吗?

curl -sSL https://get.docker.com/ | sh
作者: 握草    时间: 2024-9-30 17:48
似毛非毛 发表于 2024-9-30 17:46
你把报错发出来啊,官网一键脚本我装了。没问题。

# Executing docker install script, commit: 39040d838e8bcc48c23a0cc4117475dd15189976
+ sh -c apt-get -qq update >/dev/null
E: The repository 'http://security.debian.org bullseye/updates Release' does not have a Release         file.
W: GPG error: https://download.docker.com/linux/debian bullseye InRelease: The following signatu        res couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
E: The repository 'https://download.docker.com/linux/debian bullseye InRelease' is not signed.

作者: 握草    时间: 2024-9-30 17:51
似毛非毛 发表于 2024-9-30 17:46
你把报错发出来啊,官网一键脚本我装了。没问题。


# Executing docker install script, commit: 39040d838e8bcc48c23a0cc4117475dd15189976
+ sh -c apt-get -qq update >/dev/null
E: The repository 'http://security.debian.org bullseye/updates Release' does not have a Release file.
W: GPG error: https://download.docker.com/linux/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
E: The repository 'https://download.docker.com/linux/debian bullseye InRelease' is not signed.

作者: 这是小号    时间: 2024-9-30 17:56
可以正常安装啊,你是用的官方一键脚本吗
作者: NetAnt    时间: 2024-9-30 18:22
后台重装一个debian12
作者: ymcoming    时间: 2024-9-30 20:01
用官方脚本安装不了,原因看了一下是官方脚本先有一个添加docker源的步骤,写在了这里:
/etc/apt/sources.list.d/docker.list ,然后理论上apt update后,就能安装了。

但奇怪的是locvps的镜像ubuntu执行apt update后,似乎没有去执行/etc/apt/sources.list.d/docker.list ,所以我把docker.list的内容,粘贴到了/etc/apt/sources.list里面,去apt update就同步docker源了,这时再执行docker安装脚本就正常了,直接装好。




欢迎光临 全球主机交流论坛 (https://ddzzz.eu.org/) Powered by Discuz! X3.4