Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.9k views
in Technique[技术] by (71.8m points)

mac下docker安装gitlab,有没有详细的文章

我目前卡在运行命令后,也绑定host了
还是访问不了搭建的git服务

看了几篇文章,貌似都是这么设置的,不知道缺什么步骤(对docker也确实不熟悉)

https://www.yht7.com/news/82554

比如:
sudo docker run -d --hostname cc.cc.cc --name gitlab --restart always --publish 30001:22 --publish 30000:80 --publish 30002:443 --volume $HOME/gitlab/data:/var/opt/gitlab --volume $HOME/gitlab/logs:/var/log/gitlab --volume $HOME/gitlab/config:/etc/gitlab gitlab/gitlab-ce

然后host也绑定了 127.0.0.1 cc.cc.cc

但是访问了这个域名,一直不通,上述的几个port也都尝试过了


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...