Dev host 2 IP address, one subnet connects to my device, but can't debug

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


Container Registry Configuration Issue

The error you’re encountering is related to Docker’s insecure registry configuration on your target device (192.168.3.1). The issue is that your development PC’s registry (192.168.3.2:5002) needs to be configured as an insecure registry on the target device, not just on your development machine.

Solution: Configure Insecure Registry on Target Device

When the Torizon IDE Extension connects to a device, it automatically configures the target device in Engineering Mode (1). Part of this configuration includes setting up your development PC’s IP as an insecure container registry (1).

The configuration should be added to /etc/docker/daemon.json on your target device as follows (1):

{  
	"insecure-registries" : ["<your development PC's IP>"]  
}  

(1)

Verify Current Configuration

On your target device (192.168.3.1), check the current Docker daemon configuration by running (2):

cat /etc/docker/daemon.json

(2)

You should see something like (2):

{
   "insecure-registries" : ["192.168.3.2:5002"]
}

(2)

Troubleshooting Steps

  1. Check if the target device has the correct insecure registry configuration - The IP address should match your development PC’s IP (192.168.3.2) (2)

  2. Restart Docker daemon - If you manually modify the configuration, restart the Docker service on the target device

  3. Re-establish connection - Try disconnecting and reconnecting the target device in VS Code to ensure the Engineering Mode configuration is properly applied (1)

The key point is that Docker’s insecure registry configuration must be set on the device that’s pulling the images (your target device), not just on the device hosting the registry (your development PC).

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.