gitlab+jenkins+docker自动构建

docker容器部署gitlab:

 1 sudo docker run --detach \
 2     --hostname git.gitlab.com \
 3     --net=host \
 4     --publish 9443:443 --publish 9080:80 --publish 9022:22 \
 5     --name gitlab \
 6     --restart always \
 7     --volume /data0/gitlab/config:/etc/gitlab \
 8     --volume /data0/gitlab/logs:/var/log/gitlab \
 9     --volume /data0/gitlab/data:/var/opt/gitlab \
10     gitlab/gitlab-ce:latest

 

  

posted @ 2017-01-18 16:36  邸海峰  阅读(2387)  评论(0编辑  收藏  举报
doc