Update fails many times from Torizon clouad

Hello @bruno.tx ,

I tried this setting: torizon.overwriteHostIp before as you told me, but may be I did not restart vs code, so I tried it again now, I added this settings again and restarted vs code, but I run into another problem, when I try to set the device as default I got this message:

Unable to write to Workspace Settings because docker.environment is not a registered configuration.

I checked vs code extensions now and I found that docker extension updated and its not appear now and a new extension appeared, its name: containers from Microsoft, and this extension has changed docker.enviroment setting in settings.json file to: containers.environment, in spite of this, the previous error did not disappear.

How do I get rid of this new error please?

Best regards,
Tarek

Hi @tarekmhnds !

This is a modification that Microsoft did (Docker → Container Tools) that is generating some headaches. Even though both are available, the Docker one is now (as of today, in fact) dependent on Container Tools and this is breaking stuff like docker.* not existing anymore.

Could you please downgrade your Docker extension to version 1.29.6 and try again?

Here are some screenshots to serve as a guide.

If Docker extension from Microsoft is already installed:

If Docker extension from Microsoft is not already installed:

Then select the version 1.29.6:

Then trigger a Reload Window.

Best regards,

1 Like

Hello @henrique.tx ,

Thanks for the clear explanations, I downgrade the Docker extension to version 1.29.6 and the problem solved and I didn’t see this error message again.

@bruno.tx Returning back to Host ip problem, after setting my pc ip at torizon.overwriteHostIp, and restarting vs code, and disconnect the device and reconnect it the problem solved. Now I see my ip at the .vscode/settings.json file at host_ip setting, and at the file /etc/docker/daemon.json at the board.

Thanks a lot

Best regards,
Tarek

Hi @tarekmhnds !

Thank you for the feedback! Great to know that everything is solved now.

Please don’t forget to mark as Solution the most suitable message here in this thread :slight_smile:

Best regards,