File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
content/manuals/engine/install Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -127,16 +127,11 @@ Docker from the repository.
127127 # Add the repository to Apt sources:
128128 echo \
129129 " deb [arch=$( dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] {{% param " download-url-base" %}} \
130- $( . /etc/os-release && echo " $VERSION_CODENAME " ) stable" | \
130+ $( . /etc/os-release && echo " ${UBUNTU_CODENAME :- $ VERSION_CODENAME} " ) stable" | \
131131 sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
132132 sudo apt-get update
133133 ```
134134
135- > [ !NOTE]
136- >
137- > If you use an Ubuntu derivative distribution, such as Linux Mint,
138- > you may need to use ` UBUNTU_CODENAME ` instead of ` VERSION_CODENAME ` .
139-
1401352 . Install the Docker packages.
141136
142137 {{< tabs >}}
You can’t perform that action at this time.
0 commit comments