docker run \
    --detach \
    --publish 20443:443 \
    --publish 20080:80 \
    --name gitlab \
    --restart unless-stopped \
    --volume ~/gitlabdata/etc:/etc/gitlab \
    --volume ~/gitlabdata/log:/var/log/gitlab \
    --volume ~/gitlabdata/data:/var/opt/gitlab \
    beginor/gitlab-ce

参见连接:https://hub.docker.com/r/beginor/gitlab-ce/
sudo docker run --detach --hostname 192.168.5.85 --publish 20443:443 --publish 20080:80 --publish 20022:22 --name gitlab --restart always --volume /srv/gitlab/config:/etc/gitlab --volume /srv/gitlab/logs:/var/log/gitlab --volume /srv/gitlab/data:/var/opt/gitlab gitlab/gitlab-ce:latest

 

相关文章:

  • 2021-05-20
  • 2021-08-27
  • 2022-12-23
  • 2021-05-22
  • 2021-10-30
  • 2021-06-11
  • 2021-09-27
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2021-05-15
  • 2021-12-03
相关资源
相似解决方案