Out of curiosity, why use the Docker image over our Omnibus package? Omnibus is generally what we recommend, but if that's not good enough we'd love to know how it can be improved.
Out of curiosity, why use the Docker image over our Omnibus package? Omnibus is generally what we recommend, but if that's not good enough we'd love to know how it can be improved.
Basically I'm at this point: 'what's the easiest self-contained box to run and maintain', with conditions 'I have an IP but it's not dedicated (ports 22/80/443 unavailable)' and 'there may not be existing DNS/SSL for this server but I can set it up' and 'SMTP from this IP is not desired/desirable, but I have an existing offsite ISP allowing relay with credentials'. This doesn't strike me as particularly weird, except that in the latter case Google is not an option (GFW'd from China).
docker pull gitlab/gitlab-ce:latest
docker stop gitlab
docker rename gitlab gitlab-old
docker run --detach --publish 60100:80 --publish 58432:22 --name gitlab --restart always \
--volume /var/volumes/gitlab/config:/etc/gitlab \
--volume /var/volumes/gitlab/logs:/var/log/gitlab \
--volume /var/volumes/gitlab/data:/var/opt/gitlab \
gitlab/gitlab-ce:latest
# after verifying the new image works, docker rm docker-old; docker rmi [old image].
It took less than an hour to configure it for external SMTP relay, external auth with two factor authentication, etc.I did just get started with it, but I have to say the omnibus install was fairly easy.
The Sameer docker image used to be the only way to run GitLab with Docker but we don't recommend it and it is no longer listed on our installation page https://about.gitlab.com/installation/ to prevent confusion.
Also see my answer in https://news.ycombinator.com/item?id=13243443
FWIW: I ran GitLab at my previous company (2yrs agoish) because GitHub was a non-starter for political reasons. We loved it! Keep rocking.