本文参考:https://www.cnblogs.com/mithrilon/p/13985710.html
docker pull twang2218/gitlab-ce-zh
docker run --name "gitlabTest" --hostname "106.52.167.158" -p 8090:80 -p 8122:22 -v ${GITLAB_HOME}/config:/usr/gitlab/config -v ${GITLAB_HOME}/data:/usr/gitlab/data -v ${GITLAB_HOME}/log:/usr/gitlab/log --restart unless-stopped -d twang2218/gitlab-ce-zh
docker run --name "gitlabTest" --hostname "106.52.167.158" -p 8090:80 -p 8122:22 -v ${GITLAB_HOME}/config:/usr/gitlab/config -v ${GITLAB_HOME}/data:/usr/gitlab/data -v ${GITLAB_HOME}/log:/usr/gitlab/log --restart unless-stopped -d twang2218/gitlab-ce-zh
原文:https://www.cnblogs.com/cyh1282656849/p/14415100.html