Grub2-mkconfig picking up docker images

I’ve had some weird issues lately with grub not showing the options I was expecting. If i try to update my grub.cfg, grub2-mkconfig updates only my local docker container

[root@fedora test] grub2-mkconfig -o /boot/grub2/grub.cfg  
Generating grub configuration file ... 
Found Ubuntu 22.10 on /dev/nvme0n1p3 
Found Ubuntu 20.04.5 LTS on /dev/nvme0n1p3 
Found Distroless on /dev/nvme0n1p3 
Found Debian GNU/Linux 11 (bullseye) on /dev/nvme0n1p3 
Found Distroless on /dev/nvme0n1p3 
Adding boot menu entry for UEFI Firmware Settings ... 
done

os-prober also shows only my docker containers instead of my “real” OS

os-prober 
/dev/nvme0n1p3:Ubuntu 22.10:Ubuntu:linux:btrfs:UUID=53749156-5d55-4f74-89e1-6870ceecbf5e:subvol=root/var/lib/docker/btrfs/subvolumes/d3651c481bbb5cad3010c5b48ecf5b52d6bd4db5a83460748f04ef63afe202e2
/dev/nvme0n1p3:Ubuntu 20.04.5 LTS:Ubuntu1:linux:btrfs:UUID=53749156-5d55-4f74-89e1-6870ceecbf5e:subvol=root/var/lib/docker/btrfs/subvolumes/770fa1767bf35b6d2b92d18bc86602a2406e305034e0233a9888be36047123be
/dev/nvme0n1p3:Distroless:Debian:linux:btrfs:UUID=53749156-5d55-4f74-89e1-6870ceecbf5e:subvol=root/var/lib/docker/volumes/minikube/_data/lib/docker/btrfs/subvolumes/85af975aa8e6a5c65b311ac022014ae3264362221de083c489e35a6050474671
/dev/nvme0n1p3:Debian GNU/Linux 11 (bullseye):Debian1:linux:btrfs:UUID=53749156-5d55-4f74-89e1-6870ceecbf5e:subvol=root/var/lib/docker/volumes/minikube/_data/lib/docker/btrfs/subvolumes/5025f6e75b7c5f2215d18a8f325ab574df2d64b80f665027509a04ae631eb0d2
/dev/nvme0n1p3:Distroless:Debian2:linux:btrfs:UUID=53749156-5d55-4f74-89e1-6870ceecbf5e:subvol=root/var/lib/docker/volumes/minikube/_data/lib/docker/btrfs/subvolumes/ee527369110e37a6b867dd8df6be3ea2685fe39a6f4680be8d724af084abe31e

In other words: I cannot update my grub config anymore by using grub2-mkconfig -o /boot/grub2/grub.cfg

I am running Fedora 37 KDE. Anyone else having this issue ?

It sounds to me like you are in a container environment instead of the main OS environment.

this is definitely not the case. I’m just running plain Fedora 37 KDE and for my projects I mainly use Minikube and Distrobox/Docker