Public | Automated Build

Last pushed: 17 hours ago
Short Description
GitLab Community Edition docker image based on the Omnibus package
Full Description

GitLab Docker images

We don't monitor the comments here, if you need help with running this GitLab Docker image, please see https://about.gitlab.com/getting-help/

Docker Pull Command
Owner
gitlab
Source Repository

Comments (95)
raxon
7 days ago

I'm getting:

docker: filesystem layer verification failed for digest sha256:ef3469a6c30f28c09ed71bd7132c9babb5b8f53eccba9ff6cdbaa9370322a65b.

Any ideas?

jeffersfp
2 months ago

I just wanna share that yesterday (April 25) I did upgrade my company's Gitlab CE from 8.17.3 to 9.1.0 and it worked like a charm! Gitlab + Docker = <3

combiner
2 months ago

WTF?!

No source of timezone data could be found.
apt-get install -y tzdata
unable to make backup link of './usr/share/zoneinfo/Etc/UTC' before installing new version: Invalid cross-device link
E: Sub-process /usr/bin/dpkg returned an error code (1)

archite
2 months ago

tzdata package is missing causing chef to fail. Installing it allows gitlab-ctl reconfigure to succeed.

marcelhuberfoo
2 months ago

Upgrade to 9.0.6-ce.0 FAILS, I would recommend not using it!
(At least if upgrading from an older version like 9.0.5-ce.0)

hex6ng
2 months ago

Does anyone has experience upgrading from 8.12.7 to 9.0.5? Do you know how long such an upgrade typically takes? I'm following this guide to do the upgrade but it has been running for 3 hours now and there isn't any sign of progress. The docker container logs seems to be cycling on the same messages over and over:

....
==> /var/log/gitlab/redis/current <==
2017-04-18_17:42:31.02240 372:M 18 Apr 17:42:31.022 * 10000 changes in 60 seconds. Saving...
2017-04-18_17:42:31.02242 372:M 18 Apr 17:42:31.022 * Background saving started by pid 18271
2017-04-18_17:42:31.02840 18271:C 18 Apr 17:42:31.028 * DB saved on disk
2017-04-18_17:42:31.02873 18271:C 18 Apr 17:42:31.028 * RDB: 0 MB of memory used by copy-on-write
2017-04-18_17:42:31.12254 372:M 18 Apr 17:42:31.122 * Background saving terminated with success

==> /var/log/gitlab/gitlab-monitor/current <==
2017-04-18_17:42:31.15162 ::1 - - [18/Apr/2017:17:42:31 UTC] "GET /sidekiq HTTP/1.1" 200 3135
2017-04-18_17:42:31.15173 - -> /sidekiq
2017-04-18_17:42:33.06104 ::1 - - [18/Apr/2017:17:42:33 UTC] "GET /database HTTP/1.1" 200 33607
2017-04-18_17:42:33.06117 - -> /database

==> /var/log/gitlab/node-exporter/current <==
2017-04-18_17:42:34.53559 time="2017-04-18T17:42:34Z" level=error msg="ERROR: hwmon collector failed after 0.000014s: open /sys/class/hwmon: no such file or directory" source="node_exporter.go:91"

==> /var/log/gitlab/gitlab-monitor/current <==
2017-04-18_17:42:35.33889 ::1 - - [18/Apr/2017:17:42:35 UTC] "GET /process HTTP/1.1" 200 1158
2017-04-18_17:42:35.33891 - -> /process
2017-04-18_17:42:46.15229 ::1 - - [18/Apr/2017:17:42:46 UTC] "GET /sidekiq HTTP/1.1" 200 3135
2017-04-18_17:42:46.15243 - -> /sidekiq
2017-04-18_17:42:48.06290 ::1 - - [18/Apr/2017:17:42:48 UTC] "GET /database HTTP/1.1" 200 33607
2017-04-18_17:42:48.06303 - -> /database

==> /var/log/gitlab/node-exporter/current <==
2017-04-18_17:42:49.53555 time="2017-04-18T17:42:49Z" level=error msg="ERROR: hwmon collector failed after 0.000012s: open /sys/class/hwmon: no such file or directory" source="node_exporter.go:91"

==> /var/log/gitlab/gitlab-monitor/current <==
2017-04-18_17:42:50.33682 ::1 - - [18/Apr/2017:17:42:50 UTC] "GET /process HTTP/1.1" 200 1158
2017-04-18_17:42:50.33684 - -> /process
2017-04-18_17:43:01.15220 ::1 - - [18/Apr/2017:17:43:01 UTC] "GET /sidekiq HTTP/1.1" 200 3135
2017-04-18_17:43:01.15240 - -> /sidekiq
2017-04-18_17:43:03.06055 ::1 - - [18/Apr/2017:17:43:03 UTC] "GET /database HTTP/1.1" 200 33607
2017-04-18_17:43:03.06086 - -> /database

==> /var/log/gitlab/node-exporter/current <==
2017-04-18_17:43:04.53819 time="2017-04-18T17:43:04Z" level=error msg="ERROR: hwmon collector failed after 0.000013s: open /sys/class/hwmon: no such file or directory" source="node_exporter.go:91"

==> /var/log/gitlab/gitlab-monitor/current <==
2017-04-18_17:43:05.33673 ::1 - - [18/Apr/2017:17:43:05 UTC] "GET /process HTTP/1.1" 200 1158
2017-04-18_17:43:05.33675 - -> /process

==> /var/log/gitlab/gitlab-rails/production.log <==
Started GET "/help" for 127.0.0.1 at 2017-04-18 17:43:10 +0000
Processing by HelpController#index as */*
Completed 200 OK in 52ms (Views: 38.0ms | ActiveRecord: 2.1ms)

==> /var/log/gitlab/gitlab-workhorse/current <==
2017-04-18_17:43:10.55179 localhost @ - - [2017-04-18 17:43:10.494048047 +0000 UTC] "GET /help HTTP/1.1" 200 18654 "" "curl/7.53.0" 0.057685

==> /var/log/gitlab/nginx/gitlab_access.log <==
127.0.0.1 - - [18/Apr/2017:17:43:10 +0000] "GET /help HTTP/1.1" 200 18682 "-" "curl/7.53.0"
...
dco1
2 months ago

In /var/log/gitlab/unicorn/unicorn_stderr.log I'm seeing:

ArgumentError: Already running on PID:428 (or pid=/opt/gitlab/var/unicorn/unicorn.pid is stale)                       |gitlab_1             | ==> /var/log/gitlab/unicorn/current <==
  /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:195:in `pid='                |gitlab_1             | 2017-04-14_16:20:26.42584 master failed to start, check stderr log for details
  /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:127:in `start'               |  C-c C-cGracefully stopping... (press Ctrl+C again to force)
  /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/unicorn-5.1.0/bin/unicorn:126:in `<top (required)>'                   |Stopping ansible_shell_1 ...
  /opt/gitlab/embedded/bin/unicorn:22:in `load'                                                                       |Stopping ansible_subgit_1 ...
  /opt/gitlab/embedded/bin/unicorn:22:in `<top (required)>'

I'm also having difficulty getting this container to work. I had it working not long ago...

gaetanquentin
2 months ago

nothing works. gitlab isn't listening on 80 neither 443 port in the container.

tcp 0 0 127.0.0.1:9100 0.0.0.0: LISTEN
tcp 0 0 127.0.0.1:9168 0.0.0.0:
LISTEN
tcp 0 0 127.0.0.1:8080 0.0.0.0: LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:
LISTEN
tcp 0 0 127.0.0.1:9121 0.0.0.0: LISTEN
tcp 0 0 127.0.0.1:8065 0.0.0.0:
LISTEN
tcp 0 0 127.0.0.1:9090 0.0.0.0: LISTEN
tcp 0 0 127.0.0.1:9187 0.0.0.0:
LISTEN
tcp 0 0 127.0.0.1:9090 127.0.0.1:48768 TIME_WAIT
tcp 0 0 172.20.10.3:57016 54.153.54.194:443 TIME_WAIT
tcp 0 0 127.0.0.1:9121 127.0.0.1:33524 TIME_WAIT
tcp 0 0 172.20.10.3:46346 54.192.218.69:443 TIME_WAIT
tcp 0 0 127.0.0.1:9090 127.0.0.1:48514 TIME_WAIT
tcp 0 0 127.0.0.1:9100 127.0.0.1:34518 TIME_WAIT
tcp 0 0 127.0.0.1:9187 127.0.0.1:37604 TIME_WAIT
tcp 0 0 127.0.0.1:9100 127.0.0.1:33996 TIME_WAIT
tcp 0 0 127.0.0.1:9090 127.0.0.1:48386 TIME_WAIT
tcp 0 0 127.0.0.1:9090 127.0.0.1:48900 TIME_WAIT
tcp 0 0 127.0.0.1:9187 127.0.0.1:37734 TIME_WAIT
tcp 0 0 127.0.0.1:9100 127.0.0.1:34382 TIME_WAIT
tcp 0 0 127.0.0.1:9121 127.0.0.1:33386 TIME_WAIT
tcp 0 0 127.0.0.1:9187 127.0.0.1:37474 TIME_WAIT
tcp 0 0 172.20.10.3:39282 91.189.88.149:80 TIME_WAIT
tcp 0 0 127.0.0.1:9100 127.0.0.1:34126 TIME_WAIT
tcp 0 0 172.20.10.3:47206 91.189.88.161:80 TIME_WAIT
tcp 0 0 127.0.0.1:9090 127.0.0.1:48644 TIME_WAIT
tcp 0 0 127.0.0.1:9100 127.0.0.1:34256 TIME_WAIT
tcp 0 0 127.0.0.1:9121 127.0.0.1:33258 TIME_WAIT
tcp 0 0 127.0.0.1:9121 127.0.0.1:33132 TIME_WAIT
tcp 0 0 127.0.0.1:9187 127.0.0.1:37872 TIME_WAIT
tcp6 0 0 ::1:9168 ::: LISTEN
tcp6 0 0 :::22 :::
LISTEN
tcp6 0 0 ::1:57282 ::1:9168 TIME_WAIT
tcp6 0 0 ::1:9168 ::1:57380 TIME_WAIT
tcp6 0 0 ::1:57100 ::1:9168 TIME_WAIT
tcp6 0 0 ::1:9168 ::1:57118 TIME_WAIT
tcp6 0 0 ::1:57546 ::1:9168 TIME_WAIT
tcp6 0 0 ::1:57492 ::1:9168 TIME_WAIT
tcp6 0 0 ::1:57408 ::1:9168 TIME_WAIT
tcp6 0 0 ::1:57358 ::1:9168 TIME_WAIT
tcp6 0 0 ::1:57232 ::1:9168 TIME_WAIT
tcp6 0 0 ::1:9168 ::1:57518 TIME_WAIT
tcp6 0 0 ::1:9168 ::1:57250 TIME_WAIT
tcp6 0 0 ::1:9168 ::1:57026 TIME_WAIT
tcp6 0 0 ::1:57154 ::1:9168 TIME_WAIT
tcp6 0 0 ::1:57026 ::1:9168 TIME_WAIT

lcamilo15
3 months ago

@alexhaller I just pushed an arm version of this image lacarm/gitlab
https://hub.docker.com/r/lacarm/gitlab/

luisnabais
3 months ago

Hello.

I'm trying to add a custom Omniauth provider to this image, but it never recognizes it.

I've followed the tutorials in the websites below, but still nothing.
https://docs.gitlab.com/ce/integration/omniauth.html
https://docs.gitlab.com/ce/integration/omniauth.html#using-custom-omniauth-providers

Has anybody done that? Any tutorials online for this image to be able to do that? Or is it a limitation to this image in ay way?

Thank you very much