sudo mkdir -p /srv/gitlab export GITLAB_HOME=/srv/gitlab
sudo docker run --detach
--hostname gitlab.example.com
--env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.example.com'"
--publish 443:443 --publish 80:80 --publish 22:22
--name gitlab
--restart always
--volume $GITLAB_HOME/config:/etc/gitlab
--volume $GITLAB_HOME/logs:/var/log/gitlab
--volume $GITLAB_HOME/data:/var/opt/gitlab
--shm-size 256m
liyaosong/gitlab-ee:16.8.2
Content type
Image
Digest
sha256:bd96aa0d5…
Size
1.4 GB
Last updated
over 2 years ago
docker pull liyaosong/gitlab-ee:16.8.2