Can not find packages in a CentOS image in Windows device

General support questions
Post Reply
Lioz
Posts: 2
Joined: 2022/06/02 20:39:50

Can not find packages in a CentOS image in Windows device

Post by Lioz » 2022/06/02 21:37:18

Hi, after pulling the following image, centos:centos7 in my Windows device, I was not able to find the kernel packages when I used the rpm -qa command.

Code: Select all

C:\Users\Li>docker run -it eeb6ee3f44bd
[root@275be47b1ff8 /]# rpm -qa | grep kernel
[root@275be47b1ff8 /]#
I was able to find them when I pulled the same image in a Mac (M1) device.

Code: Select all

li@Lis-MacBook-Pro ~ % docker run -it c9a1fdca3387
[root@0f9ef30ed653 /]# rpm -qa | grep kernel
kernel-modules-4.18.0-193.28.1.el7.aarch64
kernel-core-4.18.0-193.28.1.el7.aarch64
[root@0f9ef30ed653 /]# 
Can you tell me what might cause it and how I might find those packages in Windows?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can not find packages in a CentOS image in Windows device

Post by TrevorH » 2022/06/02 23:16:27

Is your Windows device one with an ARM processor? Or an Intel/AMD one?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Lioz
Posts: 2
Joined: 2022/06/02 20:39:50

Re: Can not find packages in a CentOS image in Windows device

Post by Lioz » 2022/06/06 09:55:23

TrevorH wrote:
2022/06/02 23:16:27
Is your Windows device one with an ARM processor? Or an Intel/AMD one?
Intel i7.

By the way, I noticed the kernel library is not included in Centos 8.x (I couldn't find it in either of the devices).
Do you know why?

Post Reply