If gitlab deployed with docker can only use HTTP, but not git address, how to deal with it?

Alibaba cloud Q & A 2022-02-13 06:13:15 阅读数:537

gitlab deployed docker use http

The mirror uses gitlab Official ce edition Use git Always hint Permission denied, please try again. Let me enter the password I don't know what the password is It's not right use HTTP All address clones are OK

The physical machine used to bind the port 8022 Corresponding to the... Of the container 22 port




Take the answer 1:

Hello! ,git The general essence of the agreement is to go ssh Agreements like that , If it's already open 22 Corresponding port , If there is no problem with the order . Then there is the issue of permission . You can see gitlab Configuration in configuration git Location of permissions .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130613130663.html