File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
content/manuals/engine/install Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -114,11 +114,21 @@ Docker from the repository.
114114 sudo curl -fsSL {{% param " download-url-base" %}}/gpg -o /etc/apt/keyrings/docker.asc
115115 sudo chmod a+r /etc/apt/keyrings/docker.asc
116116
117- # Add the repository to Apt sources:
117+ # Add the repository to Apt sources (legacy format) :
118118 echo \
119119 " deb [arch=$( dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] {{% param " download-url-base" %}} \
120120 $( . /etc/os-release && echo " $VERSION_CODENAME " ) stable" | \
121121 sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
122+
123+ # Add the repository to Apt sources (new deb822 format, introduced with Trixie):
124+ echo -e \
125+ " Types: deb\n \
126+ URIs: https://download.docker.com/linux/debian/\n \
127+ Suites: $( . /etc/os-release && echo " $VERSION_CODENAME " ) \n \
128+ Components: stable\n \
129+ Signed-By: /etc/apt/keyrings/docker.gpg" | \
130+ sudo tee /etc/apt/sources.list.d/docker.sources > /dev/null
131+
122132 sudo apt-get update
123133 ```
124134
You can’t perform that action at this time.
0 commit comments