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

No version in docker inspect output for clickhouse-server latest #54224

Closed
4ertus2 opened this issue Sep 3, 2023 · 1 comment · Fixed by #60949
Closed

No version in docker inspect output for clickhouse-server latest #54224

4ertus2 opened this issue Sep 3, 2023 · 1 comment · Fixed by #60949
Labels
comp-install istallation component help wanted

Comments

@4ertus2
Copy link
Contributor

4ertus2 commented Sep 3, 2023

There should be an easy way to check ClickHouse version of inactive docker image with "latest" tag. I.e. I need to check my installation for update.

Installation type

docker

Source of the ClickHouse

docker pull clickhouse/clickhouse-server

Expected result

I expected to get actual version info for the "latest" tag in Labels or another section

docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
clickhouse/clickhouse-server latest a95a98bbf38f 47 hours ago 1.01GB

docker inspect a95a98bbf38f
...
"Labels": {
"build-url": "https://github.com/ClickHouse/ClickHouse/actions/runs/6051430721",
"com.clickhouse.build.version": "23.8.1.2992-lts",
"com.clickhouse.build.githash": "ebc7d9a9f3b40be89e0b3e738b35d394aabeea3e",
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "20.04"
}

The actual result

There're revision and build link. No git tags (LTS info) or ClickHouse version.

"Labels": {
"build-url": "https://github.com/ClickHouse/ClickHouse/actions/runs/6051430721",
"com.clickhouse.build.githash": "ebc7d9a9f3b40be89e0b3e738b35d394aabeea3e",
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "20.04"
}

@4ertus2 4ertus2 added the comp-install istallation component label Sep 3, 2023
@4ertus2 4ertus2 changed the title No ClickHouse version in docker inspect output for clickhouse-server latest No version in docker inspect output for clickhouse-server latest Sep 3, 2023
@nikmonkov
Copy link
Contributor

hi! I can implement this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-install istallation component help wanted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants