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
While setting up the registry according to the manual https://github.com/sameersbn/docker-gitlab/blob/master/docs/container_registry.md I encountered a setup problem:
When trying to authorize a user via docker login, a 500 error occurs. docker login registry.host.com -u user --password password returns Error response from daemon: Get "https://registry.host.com/v2/": received unexpected HTTP status: 500 Internal Server Error
At the same time, there are no entries in the docker logs about the cause of the error.
After mounting /var/logs/ on the host, I was able to find out the reason: there are no access rights to the file /certs/registry.key
After chown docker:docker registry.key in certs directory, everything worked as expected.
I think it is necessary to add a check for access rights to the file to the documentation, since when running gitlab according to this manual, the error is not displayed in the docker logs.
The text was updated successfully, but these errors were encountered:
While setting up the registry according to the manual
https://github.com/sameersbn/docker-gitlab/blob/master/docs/container_registry.md
I encountered a setup problem:When trying to authorize a user via docker login, a 500 error occurs.
docker login registry.host.com -u user --password password
returnsError response from daemon: Get "https://registry.host.com/v2/": received unexpected HTTP status: 500 Internal Server Error
At the same time, there are no entries in the docker logs about the cause of the error.
After mounting
/var/logs/
on the host, I was able to find out the reason: there are no access rights to the file/certs/registry.key
After
chown docker:docker registry.key
incerts
directory, everything worked as expected.I think it is necessary to add a check for access rights to the file to the documentation, since when running gitlab according to this manual, the error is not displayed in the docker logs.
The text was updated successfully, but these errors were encountered: