Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Outdated docker image on Docker Hub

Aperta
#128 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker, python
Ambito
devops

Direzione di ricerca

Inizia con l’immagine h5serv di Docker Hub e le istruzioni di installazione per Linux/macOS in ServerSetup. Confronta la versione di h5serv dell’immagine con un’installazione manuale attuale, quindi verifica l’immagine ricostruita sia tramite richieste HTTP dirette sia tramite h5pyd; il lavoro è completo quando entrambi i percorsi restituiscono lo stesso UUID radice ed espongono correttamente i dati HDF5.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I encountered an issue with the h5serv docker image available on Docker Hub.

With this docker image, I was able to access data in h5 files through direct HTTP requests:

domain = 'my_file_in_root.hdfgroup.org'
headers = {'host': domain}
endpoint = 'http://127.0.0.1:5000'

# get root uuid
req = endpoint + '/'
rsp = requests.get(req, headers=headers)
domain_json = rsp.json()
root_uuid = domain_json['root']

However, I was not able to access the data using h5pyd. In fact, I was encountering the same problem as described in issue 60.

Interestingly, the following command

f = h5pyd.File('my_file_in_root.hdfgroup.org', 'r', endpoint='http://127.0.0.1:5000')
f_uuid = f.id.uuid

would return a different f_uuid than root_uuid from a direct HTTP request as above.

Eventually, I realized that the image on Docker Hub is 2 years old, and thus probably outdated. I proceeded with manual installation of h5serv as described here. And then created a new docker image manually using the local installation of h5serv. With this new docker image, everything seems to work properly.

Lingua principale
Python
Stelle
170
Fork
35
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di HDFGroup/h5serv

Tutte le issue di HDFGroup/h5serv

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.