File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
content/manuals/engine/install Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -116,10 +116,14 @@ Docker from the repository.
116116 sudo chmod a+r /etc/apt/keyrings/docker.asc
117117
118118 # Add the repository to Apt sources:
119- echo \
120- " deb [arch=$( dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] {{% param " download-url-base" %}} \
121- $( . /etc/os-release && echo " $VERSION_CODENAME " ) stable" | \
122- sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
119+ sudo tee /etc/apt/sources.list.d/docker.sources << EOF
120+ Types: deb
121+ URIs: {{% param "download-url-base" %}}
122+ Suites: $( . /etc/os-release && echo " $VERSION_CODENAME " )
123+ Components: stable
124+ Signed-By: /etc/apt/keyrings/docker.asc
125+ EOF
126+
123127 sudo apt-get update
124128 ` ` `
125129
You can’t perform that action at this time.
0 commit comments