Hello and welcome back.
In this lesson we're going to learn what is an image.
If we take a look at this picture we already know that this is a container which has two processes and
that typically it only has one.
But in this case we just created two that this process is in a sandbox which gives it a namespace and
some say grips to control it.
Right.
But not a question is okay.
This is a container.
But how do I create a container that's not a good question.
And then is where the concept of image comes into way.
Then you may be wondering what is an image we can say that an image is a lot of layers in one who can
pack the thing which has a parent and child relationship.
So let me draw some things here.
OK.
So here on top of every single image inductor we have something called Scratch.
So I think that is better if I just do something like D and I type scratch.
Yes it's quite better.
So we have an image which is called scratch and scratch is basically the base for every image that you
are going to build inductor.
So it's like the basics like an empty empty representation for the parts in the system.
It's basically nothing but it's like the base that you need to use to start building images.
Right.
So you will always have this kind of base to scratch image will always be debate.
Okay so now that we have these base you know that this is empty.
So we need to put something on top of this.
We need the basics of on the pardon system remember.
Because in a person's system run processes.
So we need something which is on the person's system.
It could be centers that Vienna or Red Hat who've been to Alpine B.C. banks.
Let's say that we're going to pick up basic bags.
So I would use put here.
One line.
Let me just grab this which will represent that relationship the parent relationship between these guys
because here we have this is the parent of this guy and this just means the line that binds it with
the second layer or second level of hierarchy that we have here.
So now let me just change the color here and I will put in order later in days which will be of course.
I don't know B.C. Bucks were all pine whatever you want let's say busy bucks let's say centers vendor.
Right.
So on top of this is crunch image we have now this centers image which is kind of an operating system.
It contains all of the libraries that are now operating system needs to run processes.
Another we have this layer of a purge in the system where are you going to pick up again this line for
relationship which should be great.
I think we're going to put this line here and let's change the color again and we're going to put another
layer on top of this layer in here.
Let's say that we put some service some prices which will run in this guy which could be any process
let's say an engine X or an Apache presses.
So let's say Apache on top of this seat.
That's pretty cool as you see here in an image.
I'm just gonna put here the name of image because that's important image.
Basically we've got our parent title relationship which starts from scratch and then on top of a scratch
we paid an upgrade system and then on top of department system we put some processes which will run
in this or burdens system.
But if I change or if I modify these layering here of course these layer is also going to be modified
because this is the parent of everything.
But then at the same time this guy is the child of this but this guy is the parent of this guy.
What happens if for example you want to put something in top of the Apache you're going to put in order
relationship here and we're going to put another layer to this image which will be a Kashi service for
example.
And well this is basically that representation of how an image looks like how this colored on for an
image.
It starts from scratch then it gives you the basics for an apartment system that you can put on top
of that layer.
Some process and in top of this layer you can put an outer layer.
But keep in mind that this guy is the parent of all of these guys.
And days later is the print of all of this.
And these later is the parent of all of this.
So it's obvious that if I change this layer all of the child are going to be modified and if I change
these later all of these subsequent layers are going to be modified.
And by talking about this there comes up a new question which is then how do I build an image.
And that is what we're going to learn in the next lesson.