vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

excessive docker context ls calls

Open RYDB3RG opened this issue 1 year ago • 4 comments

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

RYDB3RG avatar Mar 04 '24 17:03 RYDB3RG

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.

bwateratmsft avatar Mar 04 '24 17:03 bwateratmsft

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?

RYDB3RG avatar Mar 04 '24 17:03 RYDB3RG

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

bwateratmsft avatar Mar 04 '24 17:03 bwateratmsft

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)

memcorrupt avatar Mar 15 '24 07:03 memcorrupt