Docker not detected in System Information when using Rancher

Hello there!

Minor issue detected on Sonarqube 8.6.1 (Community Edition) Docker Running on Rancher. On Administration > system, the “Docker” section is red (Which means that the system is not running over docker, I guess).

When I run the same Image on my linux machine, the Docker section appears OK.

Information:
sonarqube:8.6.1-community
Rancher v2.5.5

Hello @vnirocha and welcome to the community :wave:

thank you very much for the report. can you tell us on which container engine your cluster is running? our current check is explicitly checking if sonarqube is running on a docker container engine. can you exec inside the sonarqube container and give us the output of cat /proc/1/cgroup and cat /proc/self/mounts | grep container?

Hello @Tobias_Trabelsi and thanks for the quick reply :handshake: :raised_back_of_hand:

Output of cat /proc/1/cgroup :

12:hugetlb:/kubepods/burstable/poda28dd701-43ef-4733-950c-6d2ee2e7f12b/76c8c3bb4bae0d8b3b8e683e5d15752dc2325bcda7847f0490c14670b1ff347b
11:pids:/kubepods/burstable/poda28dd701-43ef-4733-950c-6d2ee2e7f12b/76c8c3bb4bae0d8b3b8e683e5d15752dc2325bcda7847f0490c14670b1ff347b
10:cpuset:/kubepods/burstable/poda28dd701-43ef-4733-950c-6d2ee2e7f12b/76c8c3bb4bae0d8b3b8e683e5d15752dc2325bcda7847f0490c14670b1ff347b
9:memory:/kubepods/burstable/poda28dd701-43ef-4733-950c-6d2ee2e7f12b/76c8c3bb4bae0d8b3b8e683e5d15752dc2325bcda7847f0490c14670b1ff347b
8:rdma:/
7:net_cls,net_prio:/kubepods/burstable/poda28dd701-43ef-4733-950c-6d2ee2e7f12b/76c8c3bb4bae0d8b3b8e683e5d15752dc2325bcda7847f0490c14670b1ff347b
6:cpu,cpuacct:/kubepods/burstable/poda28dd701-43ef-4733-950c-6d2ee2e7f12b/76c8c3bb4bae0d8b3b8e683e5d15752dc2325bcda7847f0490c14670b1ff347b
5:blkio:/kubepods/burstable/poda28dd701-43ef-4733-950c-6d2ee2e7f12b/76c8c3bb4bae0d8b3b8e683e5d15752dc2325bcda7847f0490c14670b1ff347b
4:freezer:/kubepods/burstable/poda28dd701-43ef-4733-950c-6d2ee2e7f12b/76c8c3bb4bae0d8b3b8e683e5d15752dc2325bcda7847f0490c14670b1ff347b
3:perf_event:/kubepods/burstable/poda28dd701-43ef-4733-950c-6d2ee2e7f12b/76c8c3bb4bae0d8b3b8e683e5d15752dc2325bcda7847f0490c14670b1ff347b
2:devices:/kubepods/burstable/poda28dd701-43ef-4733-950c-6d2ee2e7f12b/76c8c3bb4bae0d8b3b8e683e5d15752dc2325bcda7847f0490c14670b1ff347b
1:name=systemd:/kubepods/burstable/poda28dd701-43ef-4733-950c-6d2ee2e7f12b/76c8c3bb4bae0d8b3b8e683e5d15752dc2325bcda7847f0490c14670b1ff347b
0::/system.slice/containerd.service

Output of cat /proc/self/mounts | grep container is empty.

Container engine is docker 20.10.3