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 @@ -133,10 +133,14 @@ Docker from the repository.
133133 sudo chmod a+r /etc/apt/keyrings/docker.asc
134134
135135 # Add the repository to Apt sources:
136- echo \
137- " deb [arch=$( dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] {{% param " download-url-base" %}} \
138- $( . /etc/os-release && echo " ${UBUNTU_CODENAME:- $VERSION_CODENAME } " ) stable" | \
139- sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
136+ sudo tee /etc/apt/sources.list.d/docker.sources << EOF
137+ Types: deb
138+ URIs: {{% param "download-url-base" %}}
139+ Suites: $( . /etc/os-release && echo " ${UBUNTU_CODENAME:- $VERSION_CODENAME } " )
140+ Components: stable
141+ Signed-By: /etc/apt/keyrings/docker.asc
142+ EOF
143+
140144 sudo apt-get update
141145 ` ` `
142146
You can’t perform that action at this time.
0 commit comments