Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Larger issue: impossible to install Docker Desktop for Linux by following instructions in docs #19725

Open
1 task done
Johnrobmiller opened this issue Apr 2, 2024 · 2 comments
Labels
area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/install Relates to installing a product lifecycle/frozen status/triage Needs triage

Comments

@Johnrobmiller
Copy link

Johnrobmiller commented Apr 2, 2024

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

This is a larger issue. It is impossible to install Docker Desktop for Linux by following instructions in docs. When trying to install the .deb package, there is an error. The error tells the user that a package is missing.

The following packages have unmet dependencies:
 docker-desktop : Depends: docker-ce-cli but it is not installable
E: Unable to correct problems, you have held broken packages.

So currently, the documetation is not working and users cannot use it to install Docker Desktop for linux.

Note, the suggestions in this SO overflow post did not work for me. I'm getting an additional error that there is not release file, therefore the repository cannot be securely downloaded. I am using Linux Mint.
https://stackoverflow.com/questions/72299444/docker-desktop-doesnt-install-saying-docker-ce-cli-not-installable

It sounds there are many things wrong with this documentation that need addressing for these docs to be reliable on most systems.

Location

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

Suggestion

@Johnrobmiller Johnrobmiller added the status/triage Needs triage label Apr 2, 2024
@dvdksn dvdksn added area/build Relates to Dockerfiles or docker build command area/cli Relates to the CLI client and removed status/triage Needs triage labels Apr 2, 2024
@dvdksn dvdksn self-assigned this Apr 2, 2024
@dvdksn dvdksn removed area/build Relates to Dockerfiles or docker build command area/cli Relates to the CLI client labels Apr 2, 2024
@dvdksn dvdksn removed their assignment Apr 2, 2024
@dvdksn dvdksn added area/install Relates to installing a product area/desktop Issue affects a desktop edition of Docker. E.g docker for mac status/triage Needs triage labels Apr 2, 2024
@anerb
Copy link

anerb commented May 14, 2024

There is active "bleeding" in community sentiment from this issue. I also just spent 4-5 hours following (and re-following) the documentation for installing on my clean Linux distro. I had to reimage my machine and carefully rely on Timeshift to get through the necessary iterations. In my case it is Linux Mint, so I tried both Ubuntu and generic Linux.

In the end, it works, and it's actually not complicated. Once you know the correct answer, the documentation even reads well. However, until then, there is something in how the information is formatted and distributed that makes it quite an uphill challenge.

There is an excellent post from RogerBytes that echos this sentiment and he did the work of piecing together a linear solution.

I recommend that a link to his post is added to the official docs as a stop-gap solution (for Linux Mint) until the docs here can be updated/verified. After hour 2, I started having a background thought telling me "If this is how hard it is to get hello-world going, is Docker really a technology I want to put more time into? Is it going to be hours of trial-and-error on minor things throughout my Docker development experience?"

I understand that pointing to an outside source isn't great, but it's a good win if all the newcomers who happen to have a Linux Mint distro can get a friendlier introduction to starting with Docker (Desktop). The same advantage would apply to other popular distros, as the case may be.

Alternatively, I'd recommend a stronger warning that says "If you plan to develop with Docker (Desktop), use one of the officially tested distros, and avoid variants of them." Personally, I still suspect that warning applies and I'm probably going to clean my machine and just start fresh with Ubuntu so I can start my Docker development journey without hidden land mines.

@docker-robot
Copy link

docker-robot bot commented Aug 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/install Relates to installing a product lifecycle/frozen status/triage Needs triage
Projects
None yet
Development

No branches or pull requests

3 participants