Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest-alpine tag does not match any other tagged versions #262

Open
jgrobbel opened this issue Nov 30, 2017 · 1 comment
Open

latest-alpine tag does not match any other tagged versions #262

jgrobbel opened this issue Nov 30, 2017 · 1 comment

Comments

@jgrobbel
Copy link

jgrobbel commented Nov 30, 2017


BUG REPORT INFORMATION

Docker hub version of LATEST doesn't match the LATEST posted version (or even the previous version).
As of today 30 Nov 2017 we see:
https://hub.docker.com/r/datadog/docker-dd-agent/tags/
12.4.5201-alpine 92 MB an hour ago <<<Expect this
latest-alpine 92 MB 2 hours ago <<<To be the same image as this
12.4.5200-alpine 92 MB 8 days ago

docker pull datadog/docker-dd-agent:latest-alpine
latest-alpine: Pulling from datadog/docker-dd-agent
Digest: sha256:9b820a49801b8c1c5e2cb08dceb8f76fa4ab02d74e9c8ec172cd6514fa5820d3

docker pull datadog/docker-dd-agent:12.4.5201-alpine
12.4.5201-alpine: Pulling from datadog/docker-dd-agent
Digest: sha256:015812bf9305dea39cf6b1128c5baea39ab3eb4d930fb6eced49b436108c7947

docker pull datadog/docker-dd-agent:12.4.5201-alpine
12.4.5201-alpine: Pulling from datadog/docker-dd-agent
Digest: sha256:015812bf9305dea39cf6b1128c5baea39ab3eb4d930fb6eced49b436108c7947

docker images datadog/docker-dd-agent --format '{{.ID}}: {{.Tag}}'
1be4c6fca40b: 12.4.5201-alpine
2e05875410de: latest-alpine           <<<Doesn't match any image version?
ef9398dc1da5: 12.4.5200-alpine

This means that we cannot use any automation tools to see if our containers are out of date.

@unterstein
Copy link

Hey ho 👋

It would be extremely helpful if the latest released version would be also tagged as latest and would also have the relevant meta information so that our toolset can process those. Unfortunately the latest builds don't have those information, see:

docker inspect datadog/agent:latest
[
    {
        "Id": "sha256:73265529441f483ed7a5d485be5ffdee5f8496323e445549e31dfae3d3e1bfa7",
        "RepoTags": [
            "datadog/agent:latest"
        ],
...

If we do the same, let's say for nginx, we see the relevant information in place.

docker inspect nginx:alpine
[
    {
        "Id": "sha256:994032453556b56420d66d53b7d8db1a74e1193165e2a070e50f533d849d9833",
        "RepoTags": [
            "nginx:1.15.3-alpine",
            "nginx:alpine"
        ],
...

So tools can process those docker inspect and calculate the latest released version and compare those to current running versions and alert if those are different.

Is there any chance that the current DD agent release process could be changed to have the same tag for latest and the latest released version? This would be amazing and incredible helpful 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants