1. pull and run
docker pull docker.io/gitlab/gitlab-ce 
docker run -itd --name gitlab -p 10080:80 gitlab/gitlab-ce 
  1. configuration
vim /etc/gitlab/gitlab.rb to uncomment follow
external_url 'http://192.168.43.137'

3 . statrt and reconfigure

gitlab-ctl start` and `gitlab-ctl reconfigure

相关文章: