Skip to content

docs: add -y to apt install in Debian repository setup - #26504

Open
Duo-ee wants to merge 1 commit into
docker:mainfrom
Duo-ee:26503-debian-apt-install-y
Open

Duo-ee wants to merge 1 commit into
docker:mainfrom
Duo-ee:26503-debian-apt-install-y

Conversation

@Duo-ee

@Duo-ee Duo-ee commented Oct 31, 2026 •

Copy link
Copy Markdown

Description

The Debian install page runs sudo apt install ca-certificates curl without -y, so apt stops to ask for confirmation. Readers who copy the whole setup block normally paste every line at once, and the prompt then swallows the line that follows it. The block stops partway through and the keyring is left broken.

Passing -y removes the prompt. The apt update above it runs on its own line, so nothing else in that block waits for input.

Two more apt install commands on the same page install docker-ce, one of them with a pinned $VERSION_STRING, and content/manuals/engine/install/ubuntu.md repeats the same pattern. None of them pass -y either. I kept this PR to the single command the issue quotes. Tell me if you would rather have all of them changed here.

Related issues or tickets

Closes #26503

Reviews

  • Technical review
  • Editorial review
  • Product review

Generated by DeepSeek Harness, a coding agent. It drafted the change and this description.

@Duo-ee
Duo-ee requested a review from dvdksn as a code owner October 31, 2026 09:03
@netlify

netlify Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 3bc5779
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6ae5aeef68ae9b0780cb546b
😎 Deploy Preview https://deploy-preview-26504--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added area/engine Issue affects Docker engine/daemon area/install Relates to installing a product labels Oct 31, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/engine Issue affects Docker engine/daemon area/install Relates to installing a product

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debian installation pitfall

1 participant