Successfully uploaded docker images are not listed in the registry interface
Summary
I have successfully uploaded two images to the docker registry for a project. This can be verified:
root@example ~# docker images example.com:4567/si/dockertest
REPOSITORY TAG IMAGE ID CREATED SIZE
example.com:4567/si/dockertest latest be4a5923031d 22 hours ago 291.8 MB
example.com:4567/si/dockertest test be4a5923031d 22 hours ago 291.8 MB
However when going to the project registry, I get the message: No images in Container Registry for this project.
This appears to be a bug. I am using Gitlab (omnibus) version 8.12.1.
Steps to reproduce
Run the commands
docker login example.comr:4567
docker build -t example.com:4567/si/dockertest .
docker push example.com:4567/si/dockertest
Check to see if the newly pushed image is listed in the Gitlab interface.
Expected behavior
The image is listed in the interface.
Actual behavior
The image is not listed in the interface.
Relevant logs and/or screenshots
N/A
Output of checks
Results of GitLab application Check
sudo gitlab-rake gitlab:check SANITIZE=true
Output:
Checking GitLab Shell ...
GitLab Shell version >= 3.6.0 ? ... OK (3.6.0)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
5/3 ... repository is empty
3/4 ... ok
3/5 ... ok
3/6 ... ok
3/7 ... ok
3/8 ... ok
3/9 ... ok
3/10 ... ok
3/11 ... ok
3/12 ... ok
3/13 ... ok
3/15 ... ok
3/16 ... ok
3/17 ... ok
10/21 ... ok
3/22 ... ok
3/23 ... ok
2/24 ... ok
2/25 ... repository is empty
2/26 ... ok
3/27 ... ok
10/29 ... ok
20/32 ... ok
20/33 ... ok
20/34 ... ok
20/35 ... ok
20/36 ... ok
2/37 ... ok
24/38 ... repository is empty
29/39 ... ok
32/40 ... ok
3/43 ... ok
3/44 ... ok
2/45 ... ok
37/46 ... ok
3/47 ... ok
29/48 ... ok
11/50 ... ok
11/51 ... ok
20/52 ... repository is empty
11/53 ... repository is empty
20/54 ... ok
3/55 ... ok
37/56 ... ok
2/57 ... repository is empty
20/58 ... ok
8/59 ... repository is empty
8/60 ... repository is empty
20/64 ... ok
2/65 ... ok
46/67 ... ok
2/68 ... ok
20/69 ... ok
37/70 ... repository is empty
2/71 ... ok
11/72 ... ok
2/73 ... repository is empty
3/74 ... repository is empty
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK
Send ping to redis server: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP users with access to your GitLab server (only showing the first 100 results)
Server: ldapmain
(account info redacted)
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
projects have namespace: ...
5/3 ... yes
3/4 ... yes
3/5 ... yes
3/6 ... yes
3/7 ... yes
3/8 ... yes
3/9 ... yes
3/10 ... yes
3/11 ... yes
3/12 ... yes
3/13 ... yes
3/15 ... yes
3/16 ... yes
3/17 ... yes
10/21 ... yes
3/22 ... yes
3/23 ... yes
2/24 ... yes
2/25 ... yes
2/26 ... yes
3/27 ... yes
10/29 ... yes
20/32 ... yes
20/33 ... yes
20/34 ... yes
20/35 ... yes
20/36 ... yes
2/37 ... yes
24/38 ... yes
29/39 ... yes
32/40 ... yes
3/43 ... yes
3/44 ... yes
2/45 ... yes
37/46 ... yes
3/47 ... yes
29/48 ... yes
11/50 ... yes
11/51 ... yes
20/52 ... yes
11/53 ... yes
20/54 ... yes
3/55 ... yes
37/56 ... yes
2/57 ... yes
20/58 ... yes
8/59 ... yes
8/60 ... yes
20/64 ... yes
2/65 ... yes
46/67 ... yes
2/68 ... yes
20/69 ... yes
37/70 ... yes
2/71 ... yes
11/72 ... yes
2/73 ... yes
3/74 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.1)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.7.4)
Active users: 43
Checking GitLab ... Finished
Results of GitLab environment info
sudo gitlab-rake gitlab:env:info
Output:
System information
System: Debian 8.6
Current User: git
Using RVM: no
Ruby Version: 2.3.1p112
Gem Version: 2.6.6
Bundler Version:1.13.1
Rake Version: 10.5.0
Sidekiq Version:4.1.4
GitLab information
Version: 8.12.1
Revision: ca3c6a4
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://example.com
HTTP Clone URL: https://example.com/some-group/some-project.git
SSH Clone URL: git@example.com:some-group/some-project.git
Using LDAP: yes
Using Omniauth: no
GitLab Shell
Version: 3.6.0
Repository storage paths:
- default: /data/gitlab-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git
Thanks!