I have 2 networks, once is a dhcp network, the other is a manual network. Both are 192.168.x.x networks. The manual (static IPs) network is between 2 boards (and my laptop), one being the imx8mp on a custom board. It has one network port. The 2 boards talk to each other using the network. My laptop runs VSCode talking to the verdin board on that network. It also has a 192.168.x.x network that it can get to the internet from and I am running windows 11 (unfortunately).
Windows 11, will only allow that manual network to be a public network, so the firewall rules are very strict. I don’t think this is the issue though.
VSC is losing the default device, by leaving it alone for even 10 minutes or so. And I am using insecure registries, so launching is a problem. I am running Ubuntu 24.04 on WSL and Docker Desktop, with the insecure registries containing all the IP’s, my laptop (2) and my device (1). It works fine for WSL, but for the verdin, everytime I setup the default device, it changes the insecure registries to the other network from my manual network. This was find until it started doing it by itself. It seems to continuously (every 10 or 15 minutes) recheck and reset the verdin’s insecure registry values and some of the settings, like the torizon login, and the host IP.
I am not sure what is causing this. But it has slowed me down having to remove the device and add it again and go into the daemon.json to add the registry values again and restart docker.
Steve