question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

check image on dockerhub.com

See original GitHub issue

Hey, I want to know if there is a new version of the official ubuntu focal image. I can’t get it to work. The docs are very minimalistic. I tried to play with some endpoints, but without success.

my test configuration:

[docker-ubuntu]
source = "container"
registry = "hub.docker.com"
container = "kmille2/deezer-downloader"

If I run it with the current master branch:

nvchecker@ovh:~/nvchecker/nvchecker$ /home/nvchecker/nvchecker/venv/bin/nvchecker
[E 05-21 16:37:07.848 core:326] docker-ubuntu: unexpected error happened error=HTTPError(404, 'Not Found', HTTPResponse(_body=None,_error_is_response_code=True,buffer=<_io.BytesIO object at 0x7f0e196d2258>,code=404,effective_url='https://hub.docker.com/v2/',error=HTTP 404: Not Found,headers=<tornado.httputil.HTTPHeaders object at 0x7f0e196cef60>,reason='Not Found',request=<tornado.httpclient.HTTPRequest object at 0x7f0e196bc160>,request_time=0.6425895690917969,start_time=1621607827.2053936,time_info={'queue': 2.0742416381835938e-05, 'namelookup': 0.159526, 'connect': 0.253579, 'appconnect': 0.445031, 'pretransfer': 0.445111, 'starttransfer': 0.546772, 'total': 0.641322, 'redirect': 0.0}))                   
    Traceback (most recent call last):
      File "/home/nvchecker/nvchecker/venv/lib/python3.7/site-packages/nvchecker/util.py", line 233, in run_one
        keymanager = self.keymanager,
      File "/home/nvchecker/nvchecker/venv/lib/python3.7/site-packages/nvchecker_source/container.py", line 80, in get_version                                                                                                                
        auth_info = await cache.get(registry_host, get_registry_auth_info)
      File "/home/nvchecker/nvchecker/venv/lib/python3.7/site-packages/nvchecker/util.py", line 177, in get
        r = await fu
      File "/home/nvchecker/nvchecker/venv/lib/python3.7/site-packages/nvchecker_source/container.py", line 40, in get_registry_auth_info                                                                                                     
        await session.get(f'https://{registry_host}/v2/')
      File "/home/nvchecker/nvchecker/venv/lib/python3.7/site-packages/nvchecker/httpclient/base.py", line 37, in get
        method='GET', *args, **kwargs)
      File "/home/nvchecker/nvchecker/venv/lib/python3.7/site-packages/nvchecker/httpclient/base.py", line 66, in request                                                                                                                     
        proxy = p or None,
      File "/home/nvchecker/nvchecker/venv/lib/python3.7/site-packages/nvchecker/httpclient/tornado_httpclient.py", line 84, in request_impl                                                                                                  
        res.code, res.reason, res
    nvchecker.httpclient.base.HTTPError: (404, 'Not Found', HTTPResponse(_body=None,_error_is_response_code=True,buffer=<_io.BytesIO object at 0x7f0e196d2258>,code=404,effective_url='https://hub.docker.com/v2/',error=HTTP 404: Not Found,headers=<tornado.httputil.HTTPHeaders object at 0x7f0e196cef60>,reason='Not Found',request=<tornado.httpclient.HTTPRequest object at 0x7f0e196bc160>,request_time=0.6425895690917969,start_time=1621607827.2053936,time_info={'queue': 2.0742416381835938e-05, 'namelookup': 0.159526, 'connect': 0.253579, 'appconnect': 0.445031, 'pretransfer': 0.445111, 'starttransfer': 0.546772, 'total': 0.641322, 'redirect': 0.0}))                                                                  
nvchecker@ovh:~/nvchecker/nvchecker$ 

This is my example image: https://hub.docker.com/r/kmille2/deezer-downloader Does it only work with docker.io? I don’t even know whats the difference.

Thanks you.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
lilydjwgcommented, May 23, 2021

I’ve updated the doc.

1reaction
kmillecommented, May 23, 2021

perfect! Thanks for your help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Explore Docker's Container Image Repository - Docker Hub
A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size! Linux. ARM. ARM 64....
Read more >
Docker - Search Image in Dockerhub through CLI
In this article, we will discuss how you can search a Docker Image on DockerHub through Command Line Interface. Note that in order...
Read more >
How to inspect a docker image in docker hub? - Stack Overflow
This covers how to query the registry for the manifest and blobs. And in the registry, what you are most likely looking for...
Read more >
Pushing and Pulling to and from Docker Hub
Getting an image to Docker Hub · Click on Create Repository. · Choose a name (e.g. verse_gapminder) and a description for your repository...
Read more >
How to List / Search / Pull docker images on Linux
To search an image on a Docker registry, run the following command. ... Here, NAME : Is the name of the docker image....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found