-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to view all repositories in docker registry #4192
Comments
Which registry are you using? Can you share a screenshot of the issue? |
Is there anything obvious in common about the repositories that aren't being shown vs. the ones that are? e.g. is one group public and one group private? |
Besides the "private" on on the list they are all public and all the same. settings I even created a brand new public repository in dockerhub and it did not show up when I refreshed the list. It is very clear that when I roll back to 1.26.1 from 1.27.0 or 1.28.0 the full list of repositories becomes visible again. Re-upgrade again and most of them go missing. I can replicate the same problem across two different client PCs. I use the Windows Version with a WSL2 backend where I create and build all containers in the WSL2 remote instance. |
There was a pretty major refactor of the registry implementation between 1.26.1 and 1.27.0; it looks like it introduced a regression following some pagination links for the Docker Hub registry API, which is why you're only seeing a subset of results. |
I am not sure if it's related, however the tags under the visible repositories seem to have changed to ordering by alphabetical/numerical instead of by standard age. |
That part at least was intentional. VSCode's tree view API is somewhat restricting. The Docker V2 registry API doesn't give the dates as part of the tag listing, you have to request details about each tag, which means a request for every tag which is slow. We opted to do that asynchronously and sort alphabetically instead of by date. We could go back to date but it would require making those requests synchronously, and the user experience there is slower performance. We could also make an option to allow users to choose. |
I think offering an option to chose how one wants to sort their tags under the Docker remote repository would be ideal. While I do understand programming constraints it is also sometimes inefficient from a user experience. Example: |
Fix depends on microsoft/vscode-docker-extensibility#219 |
This has been released in Docker extension version 1.29.0. |
Version: 1.27.0 and 1.28.0
When logging into a Docker registry the UI seems to cut off a bunch of repositories in the list. Also, it appears the ordering of visible tags within a repository has changed to alphabetical order instead of by age.
Reverting back to version 1.26.1 seems to fix the above two issues. All repositories are visible once again and ordering of tags is by age.
Troubleshooting steps (none work):
Issue can be reproduced across two different client PCs using version 1.27.0 and 1.28.0. Rolling back to 1.26.1 fixes the issues.
The text was updated successfully, but these errors were encountered: