You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried to use this package to list all docker images on our gitlab instance but it didn't work:
File "C:\Users\hofo\Envs\gitlab-registry\lib\site-packages\requests\adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='gitlab.xxxx.comjwt', port=443): Max retries exceeded with url: /auth?client_id=docker&service=container_registry&scope=registry:catalog:* (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001F9920BFEC8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
Is the problem caused by HTTPS?
Why is the string jwt appended to the host?
Is there another solution for this problem? I don't understand why it is not possible to list all projects with all Docker images and sort by the size, when you are a GitLab admin :(.
BR
Oliver
The text was updated successfully, but these errors were encountered:
Hey, thanks for trying this package. 😃
How did you try to use the package? Did you use the package API directly or did you try to use the CLI program?
I am sorry for the bad documentation about the URL format of the needed hosts. If you use the API directly, you must pass the host (both GitLab and registry) in the form https://gitlab.xxxx.com/. Thus, you should get a url like https://gitlab.xxxx.com/jwt/...
Currently checks for the correct form are performed in the CLI, but they should probably be done in the API itself.
Hi, I tried to use this package to list all docker images on our gitlab instance but it didn't work:
jwt
appended to the host?Is there another solution for this problem? I don't understand why it is not possible to list all projects with all Docker images and sort by the size, when you are a GitLab admin :(.
BR
Oliver
The text was updated successfully, but these errors were encountered: