赞
踩
目录
docker pull gitlab/gitlab-ce:latest
- docker run \
- -itd \
- -p 9980:80 \
- -p 9922:22 \
- -v /home/gitlab/etc:/etc/gitlab \
- -v /home/gitlab/log:/var/log/gitlab \
- -v /home/gitlab/opt:/var/opt/gitlab \
- --restart always \
- --privileged=true \
- --name gitlab \
- gitlab/gitlab-ce
- # 查看docker启动
- docker ps
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。