Debian installation pitfall

未关闭 适合新手
#26,503 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@Duo-ee 已经在做这个了。

开始于 2026年10月31日。

  • #26504 来自 @Duo-ee —— 未关闭

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
85/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
docker, markdown
领域
documentation

调研方向

从 https://docs.docker.com/engine/install/debian/ 上的 Debian 安装说明开始,并找到列出的命令 apt install ca-certificates curl。按照 issue 中的建议,检查这些说明在全新安装的 Debian 13 上的行为。完成标准是安装步骤不再消耗下一行粘贴的内容,并且在没有报告的 keyring 错误的情况下完成。

由索引模型根据 Issue 内容生成。

描述

status/triage
Is this a docs issue?
  • My issue is about the documentation content or website
Type of issue

Information is incorrect

Description

If you copy+paste this part of the debian installation instructions on a relatively fresh Debian 13 install...

# Add Docker's official GPG key:
sudo apt update
sudo apt install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

The apt install ca-certificates curl line will prompt, for Y/n and consume the next pasted line semi-silently, culminating in this sequence not working correctly and outputting difficult-to-triage keyring errors. I believe this is the root cause of Issue #24939 and not obvious for inexperienced users. Stumbled into it myself recently but was able to recover.

Location

https://docs.docker.com/engine/install/debian/

Suggestion

add -y to install command in instructions, test on fresh installs with a minimal set of packages to find inexperienced-user issues like this.

主要语言
Markdown
星标
4.7k
派生
8.5k
平均合并
2 天 14 小时
30 天内合并 PR
129

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

docker/docs 的其他 Issue

查看 docker/docs 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。