My VS Code Torizon debug system was previously working OK, but I’m now having problems pulling the docker image down to the Torizon target system.
Here’s my setup;
Windows host running Docker Desktop (4.34.1)
WSL (Ubuntu 22.04)
VS Code - latest (3.1.1)
I’ve got a small local network:
Windows Host: 192.168.8.227
Torizon target: 192.168.8.226
I can ping each device from the other. On the Windows host, “curl http://localhost:5002/v2/” gives me a good HTML response.
From the Torizon target, I’m able to “telnet 192.168.8.227:5002” without any problem, so I know that port 5002 is able to get through the Windows firewall.
On the Torizon target, “curl http://192.168.8.227:5002/v2/” gives me “Recv failure: Connection reset by peer”, so I’m unable to pull the image down to the target.
The Torizon target’s daemon.json file has “insecure-registries” : [“192.168.8.227:5002”], so that should be OK.
The issue seems to be that the docker daemon in the container running on Windows is not being exposed to the clients of the Windows device, even though the firewall is open.
Is there something I’m missing with the docker/container config?