1.下载镜像

docker pull yrzr/gitlab-ce-arm64v8

2.创建容器

docker run \
  --detach \
  --restart always \
  --name gitlab-ce \
  --privileged \
  --memory 4096M \
  --publish 22:22 \
  --publish 80:80 \
  --publish 443:443 \
  --hostname gitlab.example.com \
  --env GITLAB_OMNIBUS_CONFIG=" \
    nginx['redirect_http_to_https'] = true; "\
  --volume /srv/gitlab-ce/conf:/etc/gitlab:z \
  --volume /srv/gitlab-ce/logs:/var/log/gitlab:z \
  --volume /srv/gitlab-ce/data:/var/opt/gitlab:z \
  yrzr/gitlab-ce-arm64v8:latest

 

相关文章:

  • 2021-10-31
  • 2021-09-09
  • 2021-10-04
猜你喜欢
  • 2021-05-31
  • 2021-06-26
  • 2022-12-23
  • 2021-04-29
  • 2021-12-02
相关资源
相似解决方案