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

Update the quickstart guide "docker inspect" section to rightly inspect the image digest for signing #283

Closed
Roseline-Bassey opened this issue Jun 13, 2023 · 0 comments · Fixed by #289
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Roseline-Bassey
Copy link
Contributor

I followed the quickstart guide to sign and validate a container image. Later, I removed the registry using the docker rm -f registry command.

During a second attempt to sign and validate the image, I noticed that the docker inspect localhost:5001/net-monitor:v1 -f '{{ .Id }}' command continued to show the digest value of the previous image: sha256:64e93xxxxxxxda0ab, instead of the newly created image's digest: sha256:cae906b8xxxxxxxx41786

To resolve this issue, @FeynmanZhou suggested using the docker inspect --format='{{index .RepoDigests 0}}' localhost:5001/net-monitor:v1 command. This correctly outputs the digest of the new image.

I will submit a PR with the necessary updates to the quickstart guide for review.

@FeynmanZhou FeynmanZhou added the documentation Improvements or additions to documentation label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
2 participants