docs icon indicating copy to clipboard operation
docs copied to clipboard

Linux mint instructions for apt are outdated

Open yegorsw opened this issue 2 years ago • 3 comments

Is this a docs issue?

  • [X] My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

in this step: echo \ "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

you write: If you use an Ubuntu derivative distro, such as Linux Mint, you may need to use UBUNTU_CODENAME instead of VERSION_CODENAME.

The information is under the /etc/os-release file, under UBUNTU_CODENAME, but this file is not sourced by default and so this command will fail for users that just follow the step-by-step instructions.

Location

https://docs.docker.com/engine/install/ubuntu/

Suggestion

You should add source /etc/os-release somewhere in that command.

yegorsw avatar Sep 02 '23 05:09 yegorsw

There hasn't been any activity on this issue for a long time. If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment. If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

docker-robot[bot] avatar Dec 04 '23 01:12 docker-robot[bot]

/remove-lifecycle stale

yegorsw avatar Dec 04 '23 07:12 yegorsw

There hasn't been any activity on this issue for a long time. If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment. If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

docker-robot[bot] avatar Mar 15 '24 01:03 docker-robot[bot]