File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
content/manuals/engine/install Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,11 @@ versions:
5858Docker Engine for Ubuntu is compatible with x86_64 (or amd64), armhf, arm64,
5959s390x, and ppc64le (ppc64el) architectures.
6060
61+ > [ !NOTE]
62+ >
63+ > Installation on Ubuntu derivative distributions, such as Linux Mint, is not officially
64+ > supported (though it may work).
65+
6166### Uninstall old versions
6267
6368Before you can install Docker Engine, you need to uninstall any conflicting packages.
@@ -127,16 +132,11 @@ Docker from the repository.
127132 # Add the repository to Apt sources:
128133 echo \
129134 " deb [arch=$( dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] {{% param " download-url-base" %}} \
130- $( . /etc/os-release && echo " $VERSION_CODENAME " ) stable" | \
135+ $( . /etc/os-release && echo " ${UBUNTU_CODENAME :- $ VERSION_CODENAME} " ) stable" | \
131136 sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
132137 sudo apt-get update
133138 ```
134139
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-
1401402 . Install the Docker packages.
141141
142142 {{< tabs >}}
You can’t perform that action at this time.
0 commit comments