Lightweight and portable encapsulations of an environment.metaphor: If an image is a Java class, then a container is an instance of that class.Created with docker build command by us or other users.Read-only templates used to create containers.Important Concepts of Docker Technology Images On OSX/Windows, the Docker daemon runs in a Linux VM. The docker daemon is also called “Docker Engine” or “Docker Server”. The user interacts through the daemon using docker build, docker run, etc. Docker’s Client-Server architectureĭocker uses a client-server architecture, and the docker daemon is the server. This means we can use JRE7, 8, 9, 11, etc without introducing any conflicts.Ĭontainer-based virtualization is more cost-efficient. The kernel does not get copied, there is only 1 kernel (Container Engine) with containerization.īy running apps in different VMs, we achieve runtime isolation. One more issue is that VM portability is difficult as you have different guest OSes.įinally, containerization is a process where only 1 operating system runs - Docker is an implementation of container-based virtualization. This is cost efficient and easy to scale, but kernel resources get duplicated as you need 1 kernel per guest OS. Next up, hypervisors run multiple OSes on top of one host OS. This is a problem as you need 1 machine per app, and this is wasteful and wastes CPU and RAM as they are underutilized.Īlso, this slows deployment time and makes migration hard. ![]() Course Overviewĭocker is only one implementation of containerization.īefore virtualization, the OS is installed on a physical machine, and apps run on the OS. My work for this course can be found here:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |