nomad-coe / nomad

NOMAD lets you manage and share your materials science data in a way that makes it truly useful to you, your group, and the community.
https://nomad-lab.eu
Apache License 2.0
64 stars 14 forks source link

nomad oasis docker compose installation - registry requires login #93

Closed zhubonan closed 5 months ago

zhubonan commented 5 months ago

I am trying to install nomad oasis following this guide. However, it seems some of the docker images requires authentication to the gitlab instance. I am getting this error with the docker pull step:

 docker compose pull
[+] Pulling 17/17
 Γ£ö app Skipped - Image is already being pulled by worker                                                                         0.0s
 Γ£ö north Skipped - Image is already being pulled by worker                                                                       0.0s
 Γ£ö mongo 10 layers [Γú┐Γú┐Γú┐Γú┐Γú┐Γú┐Γú┐Γú┐Γú┐Γú┐]      0B/0B      Pulled                                                                          15.1s
   Γ£ö e0b25ef51634 Pull complete                                                                                                  1.7s
   Γ£ö c7a086fc80ea Pull complete                                                                                                  1.1s
   Γ£ö 7a6592c2fb05 Pull complete                                                                                                  1.2s
   Γ£ö 5dad2281c276 Pull complete                                                                                                  2.3s
   Γ£ö 34073132290c Pull complete                                                                                                  2.1s
   Γ£ö ec793bc1a2ae Pull complete                                                                                                  2.6s
   Γ£ö 660887418c9b Pull complete                                                                                                  3.1s
   Γ£ö 97291b67bd8e Pull complete                                                                                                  8.7s
   Γ£ö 65956d0b19fc Pull complete                                                                                                  3.5s
   Γ£ö b07897fe2a77 Pull complete                                                                                                  4.0s
 Γ£ö proxy Pulled                                                                                                                  2.6s
 Γ£ÿ worker Error                                                                                                                 15.1s
 Γ£ö rabbitmq Pulled                                                                                                               2.6s
 Γ£ÿ elastic Error                                                                                                                15.1s
Error response from daemon: Get "https://gitlab-registry.mpcdf.mpg.de/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

and trying to curl the address gives:

$ curl https://gitlab-registry.mpcdf.mpg.de/v2/
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}
zhubonan commented 5 months ago

Seems to be a problem entirely from my end... For future reference, if one is behind a http proxy, make sure the proxy settings are passed to the daemon.