Can't connect to docker starting debug port 2375

Thank you for confirming your setup - Verdin iMX8M Plus with Torizon OS 7.3.0.

The issue you’re experiencing with Docker port 2375 and the Torizon IDE Extension is a known compatibility problem with Docker version 29(1).

Docker 29 Incompatibility

When using Docker v29 and attempting to start a debug session, you might encounter failures. The error in the terminal typically looks like issues connecting to the Docker daemon(1).

Solutions

Recommended Solution: Update Torizon IDE Extension

Torizon IDE Extension Version 3.3.114 (pre-release) fixes this issue. Toradex recommends updating to the Pre-Release version in VS Code as the official solution(1).

Alternative Workaround: Downgrade Docker

If you are unable to use the Pre-Release version of the Torizon IDE Extension, you can resolve the incompatibility by downgrading your Docker installation to version 28.x(1).

Additional Troubleshooting

If the issue persists after trying the above solutions, there are a few other things to check:

  1. Network Configuration: Ensure that port 2375 is accessible between your development PC and the Verdin board. In multi-NIC environments, the extension may have difficulty detecting the correct host IP(1)(2).

  2. Host IP Override: If your PC has multiple network interfaces or uses VPN, you may need to set the torizon.overwriteHostIp setting in VS Code global settings to the correct IP address of your main interface(1).

  3. Check Internal Logs: You can check the internal VS Code logs by opening the command palette and selecting Developer: Toggle Developer Tools, then clicking on the Console tab(1).

The primary issue appears to be the Docker 29 incompatibility, so updating the Torizon IDE Extension or downgrading Docker should resolve your problem.

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.