[英]Unable to access gitlab repository in docker
I've runned gitlab container and created new repo. 我已经运行了gitlab容器并创建了新的仓库 。 When I try to clone that repo using http or ssh, I receive: 当我尝试使用http或ssh克隆该存储库时,收到以下消息:
fatal: unable to access 'http://root@3908eec185ce/root/my-awesome-project.git/': Could not resolve host: 3908eec185ce
there is how I clone: 我是如何克隆的:
git clone http://root@3908eec185ce/root/my-awesome-project.git
I've found solution. 我找到了解决方案。 instead of 代替
http://root@3908eec185ce/root/my-awesome-project.git/
I use 我用
http://root@[host]:[port]/root/my-awesome-project.git/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.