sameersbn / sameersbn/docker-gitlab

Can you get the digest for the docker tag of latest and right now 8.16.3 to match?

Open
#1,077 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

Actual behaviour

When pulling down a docker image, the 'latest' images digest does not match what looks to be the same image, 8.16.3. This results in what should be the same image, being downloaded twice. Below is the output from a script that runs the next two lines:

$ sudo docker pull sameersbn/docker-gitlab:latest
$ sudo docker pull sameersbn/docker-gitlab:8.16.3

latest: Pulling from sameersbn/gitlab
Digest: sha256:146453dd116ac935a3f837c26881e4bf74e42b6b442b10efe1f5449797e39ac9
Status: Image is up to date for sameersbn/gitlab:latest
8.16.3: Pulling from sameersbn/gitlab
Digest: sha256:a3a63e206846a7214f8c3cfe2b4fc86a0987c0c47781722f9a6d1ff0bf738389
Status: Image is up to date for sameersbn/gitlab:8.16.3

Expected behaviour

Simlar to this where the digest match:
stable-alpine: Pulling from library/nginx
Digest: sha256:ce50816e7216a66ff1e0d99e7d74891c4019952c9e38c690b3c5407f7af57555
Status: Image is up to date for nginx:stable-alpine
1.10.2-alpine: Pulling from library/nginx
Digest: sha256:ce50816e7216a66ff1e0d99e7d74891c4019952c9e38c690b3c5407f7af57555
Status: Image is up to date for nginx:1.10.2-alpine

Steps to reproduce

$ sudo docker pull sameersbn/docker-gitlab:latest
$ sudo docker pull sameersbn/docker-gitlab:8.16.3

Configuration

N/A

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 by running the two documented docker pull commands and comparing the reported digests for latest and 8.16.3. Investigate how these tags are published; the issue is done when both tags resolve to the same image digest and are not downloaded separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.