04. Docker – What is Docker

 Docker – What is Docker

Docker is a tool which we used to containerize our application. Container is a concept and docker is an implementation tool for that. Docker ට කලින් Linux වල containers තිබුන අතර docker මගින් containers සමග පහසුවන් වැඩකරන්න පුළුවන් විදිහට හදලා දීලා තියනවා.

Docker containers are originally run on LINUX OS. Later Docker made its platform available for other operation systems. But simple limitation. Limit - Docker was running inside LINUX based virtual machine on top of the operating system. So Docker can run in multiple OS, but still LINUX is the middle man. But recently release Docker can run now natively on the windows. Linux support is not needed and Docker container run on windows kernel itself.

To run Docker on windows you need,

64 bit windows 10(pro,Edu,Stu), Enable hyper-V,  Enable virtualization.

IF you want to run Docker on older version on windows, you need Docker tool for that. Docker needs type one hypervisor in windows it is hyper-V. Hyper-V is a lightweight virtualization solution build on top of the hypervisor framework, so you don’t not need to virtual box and just want to enable hypervisor and virtualization.

 

Docker වලට කලින් අවුරුදු ගානකට පෙර සිටම LXC container, LXD container, LXCF container වැනි පැවති අතර Docker use කරනුයේ LXD containers වේ.

නමුත් එම container environment setup කරගන්න එක ඒවත් එක්ක වැඩ කරන එක maintain කරන එක ලේසි නැ.ඒක නිසා තමා powerful  tool for deal with container ලෙස Docker introduce වූනේ සහ famous වෙලා අවේ. Docker is very easy to end users to work with it. 



There is a modular architect inside the docker engine.එනම් ඇතුලේ එක එක task කරගන්න වෙන් වුන, එකිනෙකට communicate කරන්න පුළුවන් components ගොඩක එකතුවක් විදිහට තමයි තියෙන්නේ.

01. Docker client request hello-world container from docker deamon.

02. Containerd is responsible to manage the lifecycle of the container.

03. Runc is responsible to create containers.



Comments

Popular posts from this blog

02. Spring – Creating spring project clone it with GIT step by step.

02.What is MicroService?

06.Mongo DB - Query part 2 (Aggregation)