How can I find the exact version of libcrypto3 in a nginx container?
Asked by
!19 knots to shore
I'm pulling a nginx image and running it in a container. When I search for the libcrypto3 library using the command `find / -type f -name libcrypto`, I locate it at `/usr/lib/aarch64-linux-gnu/libcrypto.so.3`. However, I'm trying to figure out the exact major.minor.patch version of this library. Unfortunately, I can't install any image scanners or additional packages to help with this.
Answers
There might be an SBOM or a SLSA provenance file associated with that specific version of the nginx container you're using. But I'm curious, why can't you utilize any image scanning tools?
Reply to this answer
For similar situations, I found that using the "bom" command was quite helpful. It usually comes pre-installed in many environments. You might want to check if it's available in yours!
Reply to this answer
If your tools are limited, examining Docker image layers could be key to discovering specific versions. I discovered that methods for dissecting Docker images using command-line tools can provide insights about whatโs included in the image layers. It might help you under your CKS restrictions!
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions