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

Incorrect versions in website version selector #8182

Open
itaysk opened this issue Dec 26, 2024 Discussed in #8145 · 3 comments
Open

Incorrect versions in website version selector #8182

itaysk opened this issue Dec 26, 2024 Discussed in #8145 · 3 comments
Assignees
Labels
kind/documentation Categorizes issue or PR as related to documentation.

Comments

@itaysk
Copy link
Contributor

itaysk commented Dec 26, 2024

Discussed in #8145

Originally posted by sparrowt December 20, 2024

Description

https://trivy.dev/latest/getting-started/installation/#container-image-official says:

Example:
docker run -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/Library/Caches:/root/.cache/ aquasec/trivy:0.58.0-1-g775f954c3 image python:3.4-alpine

However that image tag doesn't exist:
https://hub.docker.com/r/aquasec/trivy/tags?name=0.58.0-1-g775f954c3

so docker fails with this:

docker: Error response from daemon: manifest for aquasec/trivy:0.58.0-1-g775f954c3 not found: manifest unknown: manifest unknown.

The documentation source is here and doesn't have a hard-coded tag it uses {{ git.tag[1:] }} but I haven't yet figured out where this is provided from.

Either way for some reason it is providing a tag which does not exist on Docker Hub.

Link

https://trivy.dev/latest/getting-started/installation/#container-image-official

Suggestions

Example needs fixing to reference a real tag, or just latest I suppose

@itaysk itaysk added the kind/documentation Categorizes issue or PR as related to documentation. label Dec 26, 2024
@itaysk itaysk self-assigned this Dec 26, 2024
@itaysk
Copy link
Contributor Author

itaysk commented Jan 2, 2025

closed by #8183

@itaysk itaysk closed this as completed Jan 2, 2025
@sparrowt
Copy link

https://trivy.dev/latest/getting-started/installation/#container-image-official now has this:
docker run -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/Library/Caches:/root/.cache/ aquasec/trivy:0.58.0-45-ge8085bae3 image python:3.4-alpine
so it's still referring to a non-existent tag https://hub.docker.com/r/aquasec/trivy/tags?name=0.58.0-45-ge8085bae3

should this be re-opened?

@itaysk
Copy link
Contributor Author

itaysk commented Jan 10, 2025

thanks for reporting! reopened

@itaysk itaysk reopened this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to documentation.
Projects
None yet
Development

No branches or pull requests

2 participants