Skip to content

Conversation

LLdaniel
Copy link

Description

With Debian Trixie released the new apt sources format RFC822 is now the default.
This PR proposes a way to take this new format into account.

The goal would be to have the follwoing docker.sources:

$ cat /etc/apt/sources.list.d/docker.sources 
Types: deb
URIs: https://download.docker.com/linux/debian/
Suites: trixie
Components: stable
Signed-By: /etc/apt/keyrings/docker.gpg

Related issues or tickets

#15382 and #23231

Reviews

I am happy to change my PR if needed. Currently I was not sure if we should keep both formats or make the new deb822 format as default.
Maybe we could move the legacy format into an info box?

Copy link

netlify bot commented Aug 15, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 3876ed7
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/689ef1dbdd137e0008962447
😎 Deploy Preview https://deploy-preview-23249--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 Aug 15, 2025
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] {{% param "download-url-base" %}} \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

# Add the repository to Apt sources (new deb822 format, introduced with Trixie):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deb822 format was introduced in apt version 1.1 ten years before the release of Trixie

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh 😅 , thanks for that comment.
Did not know that, I can adjust the comment together with possible other review comments.

Maybe we should just say:

 # Add the repository to Apt sources (deb822 format)

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.

2 participants