GitLab Docker image gitlab/gitlab-ee registry not working
docker version
Client:
Version: 18.06.0-ce
API version: 1.38
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:05:26 2018
OS/Arch: darwin/amd64
Experimental: false
Server:
Engine:
Version: 18.06.0-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:13:46 2018
OS/Arch: linux/amd64
Experimental: true
Components
GitLab 11.2.3-ee (aadca99)
GitLab Shell 8.1.1
GitLab Workhorse v5.1.0
GitLab API v4
Ruby 2.4.4p296
Rails 4.2.10
postgresql 9.6.8
root@gitlab:~/docker-apps# cat docker-compose.yml
version: '3'
services:
gitlab:
image: gitlab/gitlab-ee:latest
restart: always
hostname: 'gitlab.mobile-test.'
ports:
- "80:80"
- "5000:5000"
- "443:443"
- "23:23"
volumes:
- /root/docker-apps/etc/gitlab:/etc/gitlab
- /root/docker-apps/var/opt/gitlab:/var/opt/gitlab
- /root/docker-apps/var/log/gitlab:/var/log/gitlab
deploy:
resources:
limits:
cpus: "0"
environment:
GITLAB_OMNIBUS_CONFIG: |
# Add any other gitlab.rb configuration here, each on its own line
gitlab_rails['gitlab_shell_ssh_port'] = 23
gitlab_rails['time_zone'] = 'Europe/Moscow'
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp."
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_user_name'] = "jenkins-mobile@"
gitlab_rails['smtp_password'] = "5"
gitlab_rails['smtp_domain'] = ""
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_tls'] = false
gitlab_rails['smtp_openssl_verify_mode'] = 'none'
# If your SMTP server does not like the default 'From: gitlab@localhost' you
# can change the 'From' with this setting.
gitlab_rails['gitlab_email_from'] = 'gitlab-mobile@'
gitlab_rails['gitlab_email_reply_to'] = 'noreplye@'
external_url 'https://gitlab.mobile-test.'
registry_external_url 'https://gitlab.mobile-test.'
gitlab_rails['registry_enabled'] = true
docker push gitlab.mobile-test./al.kuznetsov/hello-world
The push refers to repository [gitlab.mobile-test./al.kuznetsov/hello-world]
ee83fc5847cb: Preparing
error parsing HTTP 404 response body: invalid character '<' looking for beginning of value:
Started GET "/v2/" for 172.17.115.75 at 2018-08-28 23:58:01 +0000
Processing by ApplicationController#route_not_found as HTML
Parameters: {"unmatched_route"=>"v2"}
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms)
Started GET "/users/sign_in" for 172.17.115.75 at 2018-08-28 23:58:01 +0000
Processing by SessionsController#new as HTML
Completed 200 OK in 210ms (Views: 183.4ms | ActiveRecord: 3.9ms | Elasticsearch: 0.0ms)
Started HEAD "/v2/al.kuznetsov/hello-world/blobs/sha256:9db2ca6ccae029dd195e331f4bede3d2ea2e67e0de29d6a0f8c1572e70f32fa7" for 172.17.115.75 at 2018-08-28 23:58:01 +0000
Processing by ApplicationController#route_not_found as HTML
Parameters: {"unmatched_route"=>"v2/al.kuznetsov/hello-world/blobs/sha256:9db2ca6ccae029dd195e331f4bede3d2ea2e67e0de29d6a0f8c1572e70f32fa7"}
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms)
Started HEAD "/users/sign_in" for 172.17.115.75 at 2018-08-28 23:58:01 +0000
Processing by SessionsController#new as HTML
Completed 200 OK in 185ms (Views: 163.8ms | ActiveRecord: 2.0ms | Elasticsearch: 0.0ms)
Started POST "/v2/al.kuznetsov/hello-world/blobs/uploads/" for 172.17.115.75 at 2018-08-28 23:58:02 +0000
ActionController::RoutingError (No route matches [POST] "/v2/al.kuznetsov/hello-world/blobs/uploads"):
lib/gitlab/middleware/basic_health_check.rb:25:in `call'
lib/gitlab/request_context.rb:18:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'
lib/gitlab/middleware/release_env.rb:10:in `call'
Edited by zappbrannigan34