Docker0 not found and host_ip variable is empty

Oh, sorry I judged too quickly and missed that you are using Docker Desktop. The title contains it but your message only mentioned Docker.

So if you have Docker Desktop, it uses a virtual machine. You will not see the docker0 interface. It will be inside the virtual machine. So if you want access to the docker0 interface, you can install the Docker Engine, not the desktop.

That is not supported on your Linux distribution either, but if it is installable in any way, for example from binaries, you can try that

You can also give this script atry:

I’m not sure how it handles not supported distributions. I looked into the script but I didn’t have the time and mood to understand it. If it doesn’t work, you will know immediately when it fails after checking the OS.

But the best is asking the community or maintainers of your Linux Distribution.