Hi Vivien,
Thank you for the detailed clarification. Based on your description, it appears the Torizon IDE extension is not respecting the torizon.overwriteHostIp setting in your multi-root workspace environment on WSL.
Understanding the Issue
The error you're encountering shows that DOCKER_LOGIN is being set to your old host IP (<old_host_ip>:5002), causing the target board to attempt pulling container images from a registry that no longer exists at that address[(1)](https://community.toradex.com/t/torizoncore-example-c-project/27893).
According to the documentation, torizon.overwriteHostIp should override the automatically detected IP address that gets written to host_ip in your project's .vscode/settings.json[(2)](https://developer.toradex.com/torizon/application-development/ide-extension/reference-documentation/workspace-settings). The setting is specifically designed as "a fallback if the automatic IP address set is getting it from the wrong interface"[(2)](https://developer.toradex.com/torizon/application-development/ide-extension/reference-documentation/workspace-settings).
Potential Causes
1. Multi-Root Workspace Limitation
The documentation does not explicitly address multi-root workspace support for torizon.overwriteHostIp. The extension's behavior in multi-root workspaces may differ from single-folder projects, particularly regarding how settings are read and applied.
2. WSL Network Interface Detection
WSL environments with multiple network interfaces are known to cause issues with automatic IP detection[(3)](https://community.toradex.com/t/update-fails-many-times-from-torizon-clouad/27484)[(1)](https://community.toradex.com/t/torizoncore-example-c-project/27893). The extension may be caching or detecting the wrong interface, and in WSL scenarios, the automatic detection mechanism appears to have limitations.
3. Settings Scope Priority
VS Code has a settings hierarchy (User → Remote → Workspace → Folder). In multi-root workspaces, the extension may not be reading torizon.overwriteHostIp from the expected scope, or there may be conflicting values across different scopes.
Diagnostic Steps
To help narrow down the issue:
-
Check VS Code settings hierarchy: Open the Command Palette (Ctrl+Shift+P) and run "Preferences: Open Settings (JSON)". Search for torizon.overwriteHostIp to see where it's defined and what value is being used.
-
Verify network interfaces: Run ip addr show in your WSL terminal to identify all active interfaces and their IPs[(3)](https://community.toradex.com/t/update-fails-many-times-from-torizon-clouad/27484). This will help confirm which IP the extension should be using.
-
Check extension logs: Open the Developer Tools in VS Code (Help → Toggle Developer Tools), go to the Console tab, and look for any messages from the Torizon extension related to IP detection or settings[(4)](https://developer.toradex.com/torizon/application-development/ide-extension/troubleshooting).
Workaround for Multi-Root Workspaces
While not ideal, here's a more streamlined approach than manually editing five different locations:
-
Set host_ip in each folder's .vscode/settings.json:
{
"host_ip": "<your-new-host-ip>"
}
-
Update the target board's Docker daemon configuration once: On your Verdin iMX8M Plus, edit /etc/docker/daemon.json[(3)](https://community.toradex.com/t/update-fails-many-times-from-torizon-clouad/27484):
{
"insecure-registries": ["<your-new-host-ip>:5002"]
}
Then restart Docker:
sudo systemctl restart docker
Recommendation
This appears to be a limitation or bug in how the extension handles torizon.overwriteHostIp in multi-root workspaces on WSL. Since you've confirmed the issue persists even with new projects, and the setting is not being respected despite being configured at multiple scopes, I recommend reporting this as a bug to the Toradex development team through the Toradex Community or GitHub issues for the extension.
In the meantime, the manual host_ip override in each project's .vscode/settings.json is the most reliable workaround[(1)](https://community.toradex.com/t/torizoncore-example-c-project/27893).
Best regards,
Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.