microsoft / vscode-docker

Docker Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker
Other
1.19k stars 508 forks source link

cannot remove registry with failed connection #4182

Closed ggrrll closed 7 months ago

ggrrll commented 7 months ago

Hi,

I am trying to remove registries (generic v2) for which the connection failed -- with error: could not load user name , but it does not work (they are still there) it seems like a bug :bug:

(in particular, I am trying to connect to https://registry.gitlab.com/ )

thanks

-- maybe related to https://github.com/microsoft/vscode-docker/issues/1155

bwateratmsft commented 7 months ago

Are you unable to right click and remove the registry?

By the way, GitLab is not supported in Docker extension version 1.27 and up. We're working with GitLab Inc on them taking over support, #4132

ggrrll commented 7 months ago

Hi ,

yeah, the registries are stuck in the list -- clicking on "disconnect from generic docker registry" has no effect

ggrrll commented 7 months ago

By the way, GitLab is not supported in Docker extension version 1.27 and up.

this means that even these suggestions are not supposed to work , right? https://stackoverflow.com/a/77579533/5533078

bwateratmsft commented 7 months ago

That's correct. GitLab uses a bespoke API for their registry that is not v2 compliant.

bwateratmsft commented 7 months ago

I am able to reproduce the issue with inability to remove the registry. Investigating...

bwateratmsft commented 4 months ago

This has been released in Docker extension version 1.29.0.