microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.63k stars 282 forks source link

excessive docker context ls calls #9627

Open RYDB3RG opened 7 months ago

RYDB3RG commented 7 months ago

Hi,

ms-vscode-remote.remote-containers v0.348.0 currently calls docker context ls every 2 seconds: image This is a bit battery-drainy and can spam serverlogs when the default context is a ssh one. Could there be a configvalue to specify how often it does that? thx

bwateratmsft commented 7 months ago

What version of the Docker extension do you have installed? It's supposed to be calling docker context ls once a minute + when the Docker context or certain VSCode config values change, so there's probably a bug here.

RYDB3RG commented 7 months ago

I just doublechecked by disabling docker related extensions until the calls stop. It stops when disabling ms-vscode-remote.remote-containers v0.348.0. I guess this is the wrong repository for this issue?

bwateratmsft commented 7 months ago

That could be, I'll move this issue to their repository.

memcorrupt commented 6 months ago

Confirming that this issue is also occurring on my machine. ms-vscode-remote.remote-containers v0.348.0 is calling docker context ls very often. This seems to cause many Docker/WSL related programs to continuously restart, which pegs my CPU at 100% if I have multiple VS Code windows open. I have disabled the dev containers extension until this issue has been resolved.

(win10)