Rocly Linux 9.3 -- Docker Desktop

Hi Everyone,

I’ve been trying to install Docker Desktop but it keeps giving me the error:

"Error:
Problem: conflicting requests

  • nothing provides qemu-system-x86 >= 5.2.0 needed by docker-desktop-4.28.0-139021.x86_64 from @commandline
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)
    "

I followed the steps on:

But still havin the same issue.

"
sudo dnf install virt-manager
Última verificação de expiração de metadados: 0:27:05 em qui 04 abr 2024 20:51:45.
Package virt-manager-4.1.0-4.el9.noarch is already installed.
Dependências resolvidas.
Nada para fazer.
Completo!
"

"sudo dnf -y install libXdmcp libXmu libxkbfile xorg-x11-xauth xorg-x11-xkb-utils
Última verificação de expiração de metadados: 0:27:43 em qui 04 abr 2024 20:51:45.
Package libXdmcp-1.1.3-8.el9.x86_64 is already installed.
Package libXmu-1.1.3-8.el9.x86_64 is already installed.
Package libxkbfile-1.1.0-8.el9.x86_64 is already installed.
Package xorg-x11-xauth-1:1.1-10.el9.x86_64 is already installed.
No match for argument: xorg-x11-xkb-utils
Erro: Não foi possível encontrar uma correspondência: xorg-x11-xkb-utils
"

"sudo sudo dnf -y install bridge-utils virt-top libguestfs-tools bridge-utils virt-viewer
Última verificação de expiração de metadados: 0:28:58 em qui 04 abr 2024 20:51:45.
Package virt-top-1.1.1-9.el9.x86_64 is already installed.
Package virt-viewer-11.0-1.el9.x86_64 is already installed.
Dependências resolvidas.

Package Architecture Version Repository Size

Installing:
bridge-utils x86_64 1.7.1-3.el9 epel 34 k
virt-win-reg noarch 1.50.1-3.el9 appstream 30 k
A instalar dependências:
perl-Class-Inspector noarch 1.36-7.el9 appstream 31 k
perl-Exporter-Tiny noarch 1.002002-6.el9 appstream 51 k
perl-List-MoreUtils-XS x86_64 0.430-5.el9 appstream 62 k
perl-Sys-Guestfs x86_64 1:1.50.1-6.el9 appstream 325 k
perl-hivex x86_64 1.3.21-3.el9 appstream 50 k
perl-libintl-perl x86_64 1.32-4.el9 appstream 796 k
Installing weak dependencies:
perl-File-ShareDir noarch 1.118-4.el9 appstream 30 k
perl-List-MoreUtils noarch 0.430-4.el9 appstream 63 k
perl-Params-Util x86_64 1.102-5.el9 appstream 33 k

Resumo da Transação

Instalar 11 Pacotes

Total transferido: 1.5 M
Tamanho instalado: 6.1 M
A transferir pacotes:
(1/11): bridge-utils-1.7.1-3.el9.x86_64.rpm 334 kB/s | 34 kB 00:00
(2/11): perl-File-ShareDir-1.118-4.el9.noarch.rpm 80 kB/s | 30 kB 00:00
(3/11): perl-Exporter-Tiny-1.002002-6.el9.noarch.rpm 163 kB/s | 51 kB 00:00
(4/11): perl-Class-Inspector-1.36-7.el9.noarch.rpm 64 kB/s | 31 kB 00:00
(5/11): perl-Params-Util-1.102-5.el9.x86_64.rpm 268 kB/s | 33 kB 00:00
(6/11): perl-List-MoreUtils-XS-0.430-5.el9.x86_64.rpm 451 kB/s | 62 kB 00:00
(7/11): perl-List-MoreUtils-0.430-4.el9.noarch.rpm 315 kB/s | 63 kB 00:00
(8/11): perl-hivex-1.3.21-3.el9.x86_64.rpm 995 kB/s | 50 kB 00:00
(9/11): perl-libintl-perl-1.32-4.el9.x86_64.rpm 3.6 MB/s | 796 kB 00:00
(10/11): perl-Sys-Guestfs-1.50.1-6.el9.x86_64.rpm 2.8 MB/s | 325 kB 00:00
(11/11): virt-win-reg-1.50.1-3.el9.noarch.rpm 330 kB/s | 30 kB 00:00

Total 1.1 MB/s | 1.5 MB 00:01
A executar verificação de transação
A verificação da transação foi bem sucedida.
A executar o teste de transação
O teste de transação foi bem sucedido.
A executar a transação
Preparing : 1/1
Installing : perl-Sys-Guestfs-1:1.50.1-6.el9.x86_64 1/11
Installing : perl-hivex-1.3.21-3.el9.x86_64 2/11
Installing : perl-List-MoreUtils-XS-0.430-5.el9.x86_64 3/11
Installing : perl-Params-Util-1.102-5.el9.x86_64 4/11
Installing : perl-Exporter-Tiny-1.002002-6.el9.noarch 5/11
Installing : perl-List-MoreUtils-0.430-4.el9.noarch 6/11
Installing : perl-Class-Inspector-1.36-7.el9.noarch 7/11
Installing : perl-File-ShareDir-1.118-4.el9.noarch 8/11
Installing : perl-libintl-perl-1.32-4.el9.x86_64 9/11
Installing : virt-win-reg-1.50.1-3.el9.noarch 10/11
Installing : bridge-utils-1.7.1-3.el9.x86_64 11/11
Running scriptlet: bridge-utils-1.7.1-3.el9.x86_64 11/11
A verificar : bridge-utils-1.7.1-3.el9.x86_64 1/11
A verificar : perl-File-ShareDir-1.118-4.el9.noarch 2/11
A verificar : perl-Class-Inspector-1.36-7.el9.noarch 3/11
A verificar : perl-Exporter-Tiny-1.002002-6.el9.noarch 4/11
A verificar : perl-Params-Util-1.102-5.el9.x86_64 5/11
A verificar : perl-List-MoreUtils-0.430-4.el9.noarch 6/11
A verificar : perl-List-MoreUtils-XS-0.430-5.el9.x86_64 7/11
A verificar : perl-libintl-perl-1.32-4.el9.x86_64 8/11
A verificar : perl-hivex-1.3.21-3.el9.x86_64 9/11
A verificar : perl-Sys-Guestfs-1:1.50.1-6.el9.x86_64 10/11
A verificar : virt-win-reg-1.50.1-3.el9.noarch 11/11

Instalado:
bridge-utils-1.7.1-3.el9.x86_64 perl-Class-Inspector-1.36-7.el9.noarch
perl-Exporter-Tiny-1.002002-6.el9.noarch perl-File-ShareDir-1.118-4.el9.noarch
perl-List-MoreUtils-0.430-4.el9.noarch perl-List-MoreUtils-XS-0.430-5.el9.x86_64
perl-Params-Util-1.102-5.el9.x86_64 perl-Sys-Guestfs-1:1.50.1-6.el9.x86_64
perl-hivex-1.3.21-3.el9.x86_64 perl-libintl-perl-1.32-4.el9.x86_64
virt-win-reg-1.50.1-3.el9.noarch

Completo!
"

"$ sudo systemctl start libvirtd
$ sudo systemctl enable libvirtd
Created symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service → /usr/lib/systemd/system/libvirtd.service.
Created symlink /etc/systemd/system/sockets.target.wants/libvirtd.socket → /usr/lib/systemd/system/libvirtd.socket.
Created symlink /etc/systemd/system/sockets.target.wants/libvirtd-ro.socket → /usr/lib/systemd/system/libvirtd-ro.socket.
$ sudo systemctl status libvirtd
● libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; preset: disabled)
Active: active (running) since Thu 2024-04-04 21:21:09 WEST; 40s ago
TriggeredBy: ○ libvirtd-tls.socket
● libvirtd-ro.socket
○ libvirtd-tcp.socket
● libvirtd.socket
● libvirtd-admin.socket
Docs: man:libvirtd(8)
https://libvirt.org
Main PID: 38878 (libvirtd)
Tasks: 21 (limit: 32768)
Memory: 30.9M
CPU: 355ms
CGroup: /system.slice/libvirtd.service
├─34838 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-scrip>
├─34839 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-scrip>
└─38878 /usr/sbin/libvirtd --timeout 120

abr 04 21:21:09 P9022 systemd[1]: Starting Virtualization daemon…
abr 04 21:21:09 P9022 systemd[1]: Started Virtualization daemon.
abr 04 21:21:10 P9022 dnsmasq[34838]: read /etc/hosts - 4 addresses
abr 04 21:21:10 P9022 dnsmasq[34838]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
abr 04 21:21:10 P9022 dnsmasq-dhcp[34838]: read /var/lib/libvirt/dnsmasq/default.hostsfile
lines 1-24/24 (END)
"

Not sure what else I could double check!!

Anyone had this problem before and was able to solve it?

Thank you very much.

Cheers,

Probably would be better to follow the official Docker Desktop instructions, eg: Install Docker Desktop on RHEL | Docker Docs which shows the steps for installing on RHEL9. Since RHEL9 is the same as Rocky 9 then it should work.

Hi Ian,

Thank you for your reply.
I’ve now followed the steps on the link you provided and also the other links for the pre-requisites for KVM, pass, installed and configured everything recommended on all the links but still having the same problem.

Also reinstalled QEMU/KVM virt-manager, etc.

Also noticed that the repo for RHEL doesn’t have a docker-desktop package:

https://download.docker.com/linux/rhel/9/x86_64/stable/Packages/

I’ve also checked if every package on this repo is installed, they are, none of them is the docker-desktop package

The package I’ve been trying to install is aparently for Fedora: docker-desktop-4.28.0-x86_64.rpm
Taken fromhttps://desktop.docker.com/linux/main/amd64/139021/docker-desktop-4.28.0-x86_64.rpm?utm_source=docker&utm_medium=webreferral&utm_campaign=docs-driven-download-linux-amd64

And it’s the one that prints the error:

"Error:
Problem: conflicting requests

  • nothing provides qemu-system-x86 >= 5.2.0 needed by docker-desktop-4.28.0-139021.x86_64 from @commandline
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)
    "

So I’m gessing there is no docker-desktop package for RHEL/Rocky Linux, or should the Fedora package work but for some reason it’s not working!!?

Cheers,

Hi Ian,

I think I found the answer:

From Red Hat’s own websitehttps://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

So I installed Podman Desktop instead and seems to do the job.

Thank you very much once again.

Cheers,

Podman is probably the better bet since Docker don’t provide a proper docker version for RHEL, only for CentOS. So whilst it works, podman by default comes with RHEL/Rocky anyway. So as you found Podman Desktop easier and less hassle :slight_smile: