docker / desktop-linux

Bug reports for Docker Desktop for Linux
https://docs.docker.com/desktop/linux/
77 stars 5 forks source link

How to install Docker Desktop on CentOS 9? #71

Open Delicious-Bacon opened 2 years ago

Delicious-Bacon commented 2 years ago

Expected behavior

Docker Desktop install.

Actual behavior

Dependency issues.

Information

Steps to reproduce the behavior

I run Rocky Linux 9 and I don't know how to install Docker Desktop.

Here's what I run:

$ sudo dnf install docker-desktop-4.11.0-x86_64.rpm 
Rocky Linux 9 - BaseOS                          4.4 kB/s | 3.6 kB     00:00    
Rocky Linux 9 - AppStream                       7.1 kB/s | 3.6 kB     00:00    
Rocky Linux 9 - AppStream                       3.6 MB/s | 6.0 MB     00:01    
Rocky Linux 9 - CRB                             8.9 kB/s | 3.6 kB     00:00    
Error: 
 Problem: conflicting requests
  - nothing provides qemu-system-x86 >= 5.2.0 needed by docker-desktop-4.11.0-83626.x86_64
  - nothing provides pass needed by docker-desktop-4.11.0-83626.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

It looks like I don't have qemu-system-x86 and pass.

I do have qemu-kvm:

$ sudo dnf install qemu-kvm
Last metadata expiration check: 0:12:05 ago on Wed 07 Sep 2022 09:44:13 AM CEST.
Package qemu-kvm-17:6.2.0-11.el9_0.3.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

I don't understand how to provide the qemu-system-x86 with it.

As for pass, I don't even know where to begin looking for that because of such a generic name.


I had originally posted this as a question in moby discussions but I was told to post it as an issue here instead.

raghavendramallela commented 1 year ago

just want to re-iterate, the same dependencies (qemu-system-x86 & pass) error in rhel 9.1 machine:

~/Downloads ❯ sudo dnf install ./docker-desktop-4.15.0-x86_64.rpm              
Updating Subscription Management repositories.
Last metadata expiration check: 3:50:01 ago on Fri 09 Dec 2022 03:29:35 AM IST.
Error: 
 Problem: conflicting requests
  - nothing provides qemu-system-x86 >= 5.2.0 needed by docker-desktop-4.15.0-93002.x86_64
  - nothing provides pass needed by docker-desktop-4.15.0-93002.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
kevinkesslerit commented 1 year ago

just want to re-iterate, the same dependencies (qemu-system-x86 & pass) error in rhel 9.1 machine:

~/Downloads ❯ sudo dnf install ./docker-desktop-4.15.0-x86_64.rpm              
Updating Subscription Management repositories.
Last metadata expiration check: 3:50:01 ago on Fri 09 Dec 2022 03:29:35 AM IST.
Error: 
 Problem: conflicting requests
  - nothing provides qemu-system-x86 >= 5.2.0 needed by docker-desktop-4.15.0-93002.x86_64
  - nothing provides pass needed by docker-desktop-4.15.0-93002.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Apparently the official statement from Red Hat:

Red Hat does not support creating KVM virtual machines in any type of container that includes the elements of the RHEL 9 hypervisor (such as the QEMU emulator or the libvirt package).

The reasoning here is they prefer you to use OpenShift Virtualization which is officially supported for obvious reasons.

Source: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_managing_virtualization/assembly_feature-support-and-limitations-in-rhel-9-virtualization_configuring-and-managing-virtualization#unsupported-features-in-rhel-9-virtualization_feature-support-and-limitations-in-rhel-9-virtualization

docker-robott commented 1 year ago

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 30 days.

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

/lifecycle stale

Pherserk commented 1 year ago

/remove-lifecycle stale Got the same problem on AlmaLinux 9.2

fixader commented 1 year ago

Still nothing on centos9 rocky9

priestapostate1208 commented 1 year ago

I'm trying ot use Docker Desktop to learn how to use Ansible: Red Hat's non-support of this is causing difficulties in learning how to use both services.

endegraaf commented 9 months ago

Hi guys, was going down similar path as you. I use the alternative now on RHEL 9 (desktop) and that's Podman desktop. It has compatibility for Docker so works for the Docker use case. Not the solution to the original issue but just wanted to tell you in case you really want a docker desktop like gui app. ksnip_20231224-105843

terje-a commented 8 months ago

Thank you endegraaf for this hint! It saved me a lot of time by avoiding going down the rabbit hole trying to install Docker Desktop on my RHEL 8 installation!

russhughes commented 7 months ago

@endegraaf Thanks for saving me a lot of time.

dzodzo666 commented 5 months ago

i managed to proceed with installation of the rpm by using Qemu from the Ghettoforge repo (https://rhel.pkgs.org/9/ghettoforge-x86_64/qemu-system-x86-8.2.0-1.2.gf.el9.x86_64.rpm.html) but i'm unable to launch the docker desktop application as it coredumps

however this was sufficient for me as it installed the version of docker CLI where the command docker init works and that was just what i wanted to test