diff --git a/content/manuals/engine/install/ubuntu.md b/content/manuals/engine/install/ubuntu.md index d4e2bff9e62..b257c99acdb 100644 --- a/content/manuals/engine/install/ubuntu.md +++ b/content/manuals/engine/install/ubuntu.md @@ -58,6 +58,11 @@ versions: Docker Engine for Ubuntu is compatible with x86_64 (or amd64), armhf, arm64, s390x, and ppc64le (ppc64el) architectures. +> [!NOTE] +> +> Installation on Ubuntu derivative distributions, such as Linux Mint, is not officially +> supported (though it may work). + ### Uninstall old versions Before you can install Docker Engine, you need to uninstall any conflicting packages. @@ -127,16 +132,11 @@ Docker from the repository. # Add the repository to Apt sources: echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] {{% param "download-url-base" %}} \ - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ + $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update ``` - > [!NOTE] - > - > If you use an Ubuntu derivative distribution, such as Linux Mint, - > you may need to use `UBUNTU_CODENAME` instead of `VERSION_CODENAME`. - 2. Install the Docker packages. {{< tabs >}}