English | 简体中文
Upstream: https://gitlab.com/gitlab-org/omnibus-gitlab/-/tree/master/docker
The usage is the same as the official docker image.
Refer to the official docker installation documentation:
14.1.x 14.1 latest
14.1.1-ce.0
14.1-ce ce latest14.1.1-ee.0
14.1-ee ee14.1.0-ce.0
14.0.0-ee.0
14.0.x 14.0
14.0.6-ce.0
14.0-ce14.0.6-ee.0
14.0-ee14.0.5-ce.0
14.0.5-ee.0
14.0.4-ce.0
14.0.4-ee.0
14.0.3-ce.0
14.0.3-ee.0
14.0.2-ce.0
14.0.2-ee.0
14.0.1-ce.0
14.0.1-ee.0
13.12.x
13.12.8-ce.0
13.12.8-ee.0
13.12.7-ce.0
13.12.7-ee.0
13.12.6-ce.0
13.12.6-ee.0
13.12.5-ce.0
13.12.5-ee.0
You can pull prebuilt docker image from DockerHub:
docker pull zengxs/gitlab:latest
ce is community edition, ee is enterprise edition.
If you don't know which edition to choose, see https://about.gitlab.com/install/ce-or-ee/. Or just choose community edition.
-
Edit
./RELEASE
file, update theRELEASE_PACKAGE
(edition variant,gitlab-ce
orgitlab-ee
) andRELEASE_VERSION
(gitlab version, eg14.0.1-ce.0
). -
Run
docker build . -t gitlab
to build image
- Add package
libatomic1
(gitlab require it) - Change ssh port from
22
to2222