1.What is container?
The introduction to this course.
what is container ?
thats the defination come to mind when you learn ? to better understanding we need to go back to Operating Syatem basics and how its work
when a program?process is running on your computer it gives a call to kernel using SystemCall End Point whatever it needs to access any of the
What, If we want to Isolate a Single Program to run on virtual space or Environment?
Let’s say I want to run chrome in a Virtual environment within the machine with its own CPU cycles, Memory, Hard Disk Space, Bandwidth, Users, Internet Usage etc.
Something like shown in the following picture. A marked Space or Group.
Is it possible? Yes, it is
Isolating the System Resources per process or group of Processes is called Name Spacing. and Limiting and Regulating the System resource allocation to the isolated process/procesesses is called Control Groups(Cgroups)
A coalesced(combined) product of Control Groups and Name Spacing with Process level isolation is called as Containerization or a Container
To be more clear. In the preceding diagram, The area or grouping, Marked in Red dotted lines is called as a Container.
The following Diagram explains what is Name Spacing and Control Groups and their scope of responsibilities.
What is inside a Container
As we said just before, A Container a Collection of following elements
As we are isolating the program and dedicatedly providing its own system resources and runtime libraries. It can run alone as a Standalone application (or) infrastructure
“It was working fine in my laptop or machine”
" Yes. It might have worked in the laptop (or) DEV, but that’s not enough for it to work in PROD or at least not the same way it’s working in DEV. "