Hello everyone, I am rather new to Rancher and I a...
# rancher-desktop
h
Hello everyone, I am rather new to Rancher and I am facing the issue that none of my containers can connect to the internet, not even if I try to use the host network. I am on Ubuntu 24.04.1 LTS and running Rancher desktop 1.17.1 and I have been able to pinpoint the issue to the conflict that happens between the default subnet instantiated by docker
172.17.0.0/16
and the host ip. I have scoured online for solutions and the only one that worked was to apply a new
bip
in the
/etc/docker/daemon.json
and switching to vanilla docker. That was also corroborated by the result of
docker network inspect bridge
that was showing the correct new ip been used. Unfortunately when I start Rancher, all of that gets ignored and it re-creates the bridge network with the default broken subnet. Can you point me to (and maybe add to the documentation) where does rancher looks for these network settings? Note: to be thorough I have also, started a Live USB session with fresh ubuntu 24.04.1 LTS, just installed and re-produce the issue, so I can confirm that this affects everyone that uses this distro version. My
/etc/docker/daemon.json
Copy code
{
  "bip": "192.168.1.5/24",
  "fixed-cidr": "192.168.1.5/25",
  "default-address-pools": [
    {
      "base": "192.168.2.5/24",
      "size": 28
    }
  ]
}