the Dockerfile base on https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/docker and make some change for raspberry Pi
I suggest enable the zram to increase performance.
curl -sSL https://get.docker.com | sh
sudo docker run --detach \
--hostname IP \
--publish 443:443 --publish 80:80 --publish 22: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 \
jubilee2/rpi-gitlab-ce:v12.4.1
sudo apt-get install git
git clone https://github.com/jubilee2/rpi-gitlab-ce.git
cd rpi-gitlab-ce
sudo docker build -t gitlab-ce .
sudo docker run --detach \
--hostname IP \
--publish 443:443 --publish 80:80 --publish 22: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-ce:latest
It's need 20 min for first start up on my raspberry PI 3 B+
with enable zram
I observe this error occurred link, but after several automatic restarts, the initialization was completed.
The latest Docker guide can be found here: GitLab Docker images.