microbadger | What 's inside your Docker containers | Continuous Deployment library
kandi X-RAY | microbadger Summary
kandi X-RAY | microbadger Summary
MicroBadger shows you the contents of public Docker images, including metadata and layer information. Find your container image on MicroBadger to get badges for your GitHub and Docker Hub pages.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of microbadger
microbadger Key Features
microbadger Examples and Code Snippets
Community Discussions
Trending Discussions on microbadger
QUESTION
I am looking at this image and it seems the layers are redundant and these redundant layers ended up in the image ? If they are , how they ended up in the image leading to large amount of space ? How could i strip these layers ?
https://microbadger.com/images/openkbs/docker-spark-bde2020-zeppelin:latest
...ANSWER
Answered 2020-Sep-03 at 23:39What you are seeing are not layers, but images that were pushed to the same registry. Basically, those are the different versions of one image.
In a repository, each image is accessible through an unique ID, its SHA value. Furthermore, one can tag images with convenient names, e.g. V1.0
or latest
. These tags are not fixed, however. When an image is pushed with a tag that is already assigned to another image, the old image loses the tag and the new image gains it. Thus, a tag can move from one image to another. The tag latest
is no exception. It has, however, one special property: the tag is always assigned to the most recently pushed version of an image.
The person/owner of the registry has pushed new versions of the image and not tagged the old versions. Thus, all old versions show up as "untagged".
If we pull a specific image, we will receive this image and this image only, not the complete registry.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install microbadger
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page