如何使用docker启动一个gitlab
1. 下载ce版本镜像 gitlab/gitlab-ce:17.3.6-ce.0 2. 创建相关目录 /home/lylgitlab/config/home/lylgitlab/logs/home/lylgitlab/data/home/lylgitlab/other/gitlab.rb/home/lylgitlab/other/shm 3. 启动镜像 #!/bin/shdocker run --detach \--hostname 20.198.40.20 \-p …
2025-11-19