Docker registry understanding
Today I am going to explain what is Docker Registry and basics of docker registry.
Some times we should understand the things in proper way and from basics for better result. To achieve same thing i am just explaining the concepts and working of Docker Registry what i understood from my current project.

Basically Docker Images works on the basis of layer architecture i.e. a docker image consist of many unique supportive layers.may be same layer utilized by another image. So we can say Docker image contains group of layers and image name and tag contains group of specific layers. Some times this concept becomes very important with respect to space saving.
So, again here we are going to explain layering concept of docker with scratch and using some examples.
Docker layers are distributed in docker registry in random manner each layers are independent to each other and can be used in any image. now which image will use which layer it depends on Dockerfile used by that particular image.
Some times we should understand the things in proper way and from basics for better result. To achieve same thing i am just explaining the concepts and working of Docker Registry what i understood from my current project.

Basically Docker Images works on the basis of layer architecture i.e. a docker image consist of many unique supportive layers.may be same layer utilized by another image. So we can say Docker image contains group of layers and image name and tag contains group of specific layers. Some times this concept becomes very important with respect to space saving.
So, again here we are going to explain layering concept of docker with scratch and using some examples.
Docker layers are distributed in docker registry in random manner each layers are independent to each other and can be used in any image. now which image will use which layer it depends on Dockerfile used by that particular image.
Docker Registry
you can see in above pic docker layers are stored in Docker registry which will be used in docker image.We can say docker registry is made of docker layers.
Now we are going to explain how layers distribution can be happen to make docker images.some times same layer can be utilized in two or more than two images. But the final goal will have unique image.
Layer combination for different images
You can see here how layers are combined to make image.this is hawk eye view of docker registry.
when some one will run "docker pull <image name>:<tag>" ,it will download only respective layers.
If you have any issue please comment and share your feedback. So that i can improve our post quality.
Subscribe to:
Posts
(
Atom
)
No comments :
Post a Comment