sameersbn / sameersbn/docker-gitlab

docker registry log warns about redis

Open
#883 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wontfix
Dominant language
Shell
Stars
8.1k
Forks
2.1k
Avg merge
17h 47m
Merged PRs (30d)
7

Description

Here is the log from the docker registry that I tried to run through a docker-compose.yml. Not sure if the registry needs to point to a redis instance or not?

time="2016-09-01T02:16:37.36649972Z" level=warning msg="No HTTP secret provided - generated random secret. This may cause problems with uploads if multiple registries are behind a load-balancer. To provide a shared secret, fill in http.secret in the configuration file or set the REGISTRY_HTTP_SECRET environment variable." go.version=go1.6.2 instance.id=da01c358-8b1c-49fc-bc5d-3dc865e7bf66 service=registry version=v2.4.1 time="2016-09-01T02:16:37.366768666Z" level=info msg="redis not configured" go.version=go1.6.2 instance.id=da01c358-8b1c-49fc-bc5d-3dc865e7bf66 service=registry version=v2.4.1 time="2016-09-01T02:16:37.36673635Z" level=info msg="Starting upload purge in 46m0s" go.version=go1.6.2 instance.id=da01c358-8b1c-49fc-bc5d-3dc865e7bf66 service=registry version=v2.4.1 time="2016-09-01T02:16:37.393826839Z" level=info msg="using inmemory blob descriptor cache" go.version=go1.6.2 instance.id=da01c358-8b1c-49fc-bc5d-3dc865e7bf66 service=registry version=v2.4.1 time="2016-09-01T02:16:37.395046322Z" level=info msg="listening on [::]:5000" go.version=go1.6.2 instance.id=da01c358-8b1c-49fc-bc5d-3dc865e7bf66 service=registry version=v2.4.1

Here is the portion of the docker-compose for registry:

registry:
    restart: always
    image: registry:2.4.1
    volumes:
    - /sdata/srv/docker/gitlab/gitlab/shared/registry:/registry
    - /sdata/srv/docker/gitlab/certs:/certs
    environment:
    - REGISTRY_LOG_LEVEL=info
    - REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/registry
    - REGISTRY_AUTH_TOKEN_REALM=http://cd3labvdapp001:10080/jwt/auth
    - REGISTRY_AUTH_TOKEN_SERVICE=container_registry
    - REGISTRY_AUTH_TOKEN_ISSUER=gitlab-issuer
    - REGISTRY_AUTH_TOKEN_ROOTCERTBUNDLE=/certs/registry-auth.crt
    - REGISTRY_STORAGE_DELETE_ENABLED=true

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the docker-compose.yml registry service and the registry:2.4.1 startup log shown in the issue. Check the registry documentation or configuration code for Redis usage and the meaning of the “redis not configured” message. Done means clarifying whether Redis is required for this setup and identifying any necessary configuration change or documentation update.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.