사전_42_ft_Server : 0 : Container, OS, Kernel, VM

[Dictionary for FT_SERVER] [0]

What is Docker and Container?

도커란 뭐고 컨테이너는 뭘까?

2020. 12. 23 kkim


목차 Index


[0] Basic Information 기본 지식

     [0.1] What is OS, and what is Kernel? OS란 뭐고, Kernel은 뭘까?

     [0.2] VM - Vertual Machine - 가상 머신

[1] Container 컨테이너


[2] References 참조


[0] Basic Information 기본 지식

     [0.1] What is OS, and what is Kernel? OS란 뭐고, Kernel은 뭘까?

1) Definition of OS / OS의 정의 : Wikipedia

OS(Operation System)(Wiki) is a kind of system software that manage HW, SW Resources.
OS provides services(HW abstraction platform(Wiki) and common system service) for application SW

OS(운영 체제)(Wiki)시스템 소프트웨어의 한 종류로, 하드웨어소프트웨어 자원을 관리합니다.
OS는 응용 프로그램을 실행시키기 위해 하드웨어 추상화 플랫폼(Wiki)공통 시스템 서비스를 제공합니다.


2) about Kernel / 커널에 관하여 : Wikipedia

Kernel(Wiki) is a main control system in OS.
Kernel controls over everything in system.
If a user inputs information(orders) to OS, OS transfer this to Kernel, and the each Kernel controls HW.

커널(Wiki)OS메인 컨트롤 시스템입니다. 시스템모든 것을 통제하죠.
유저정보(명령)OS에 입력한다면, OS는 이를 커널에 전송하고, 각각의 커널들은 하드웨어조작합니다.

Kernel Image - Selfmade

3) VM / OS의 정의 : Wikipedia

VM(Virtual Machine)(Wiki) is a emulation* of a physical computer system.
We can install and execute programs in VM.
- HOW THEY WORK?
We need to create Virtual HW(Disk, Network Interface, CPU, etc).
The special SW called HYPERVISOR do this job. (doesn't it sounds cool? HYPPERVVVISOR lol)
The Guest Kernel that controls Virtual HW is included in VM.
The hypervisor can operate while replacing the existing OS and it can also run on an existing OS.
But hypervisor needs Virtualization, and it makes heavy and slow.
So we can say this method is less efficient
 - when we need to make up lots of independent group in a macine.

가상 머신(Wiki)물리적 컴퓨팅 환경을 소프트웨어로 에뮬레이션* 한 것입니다.
저희는 VM에 프로그램을 설치하고 실행할 수 있습니다.
- VM은 어떻게 동작하나요?
저희는 가상 하드웨어(디스크, 네트워크 인터페이스, CPU 등등)을 구현해야 합니다.
하이퍼바이저라고 불리는 특별한 소프트웨어가 이 일을 합니다. (멋지게 들리지 않나요? 하이PㅓVVVㅏ이저 ㅋㅋㅋㅋ)
가상 머신에는 가상 하드웨어를 조작하는 게스트 커널이 포함되어 있습니다.
하이퍼바이저기존 OS를 대체하면서 동작할 수도 있고 기존 OS와 동시에 동작할 수도 있습니다.
그러나 하이퍼바이저가상화라는 작업이 필요한데, 이는 프로그램을 무겁고 느리게 만듭니다.
그래서 한 머신에 여러 가상화된 그룹을 구성할 때 이 방법을 사용하는 것은 비효율적이라고 할 수 있습니다.


emulation*
Emulator copys system to another. Then 2nd system moves like 1st system. Wiki


에뮬레이션*
에뮬레이터는 시스템을 복제하여 두 번째 시스템이 첫 번째 시스템을 따라 동작하도록 합니다. Wiki

[1] Container 컨테이너

In general, we usually thinks [Container_pic_0] when we say "container".
In this case, container is "an object that can be used to hold or transport something".
Container makes applications and required files/library as isolated environment to run a SW like a VM.
Lets compare two image : [VM_pic_0], [VM_pic_1].
If we use container, it is more efficient becuase we don't need Virtual Guest OS and Virtual HW.

일반적으로 "컨테이너"라고 하면 [Container_pic_0]을 떠올립니다.
이 때 컨테이너는 "물건을 격리하여 보관하거나 이동할 수 있도록 하는 것"입니다.
컨테이너VM처럼 어플리케이션을 필요한 항목/라이브러리와 묶어 구동을 위한 격리된 환경을 만들어 줍니다.
이제 [VM_pic_0], [VM_pic_1]를 비교해 봅시다.
컨테이너를 이용하면 가상 게스트 OS와 가상 HW사용하지 않아도 되기 때문에 더 효율적이게 됩니다.

 

 

 

Container_pic_0
VM_pic_0

 

VM_pic_1


[3] References 참조

 

Operating system - Wikipedia

From Wikipedia, the free encyclopedia Jump to navigation Jump to search Software that manages computer hardware resources An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for compu

en.wikipedia.org

 

운영 체제 - 위키백과, 우리 모두의 백과사전

위키백과, 우리 모두의 백과사전. 운영 체제(運營 體制, 문화어: 조작 체계) 또는 오퍼레이팅 시스템(Operating System, 약칭:OS)은 시스템 하드웨어를 관리할 뿐 아니라 응용 소프트웨어를 실행하기

ko.wikipedia.org

 

 

컨테이너(Container)란?

커널과 OS 우리 컴퓨터는 CPU, Hard disk(or SSD), RAM 등의 하드웨어로 구성돼 있다. 다음 이미지를 살펴보자. 사용자 - 운영체제 - 커널 - 하드웨어 커널에 대해 간략하게 말해보면, 사용자(프로세스, 어

42kchoi.tistory.com

 

 

[Container 시리즈] 00. Container/ Docker란 뭔가요?

Container / Docker 컨테이너.. 들어봤는데 무엇인지 잘 모르겠다..라고 생각하시는 분들을 위하여 이 글을 연재합니다. 1. Container 보통 IT인이 아니라고 한다면 '컨테이너' 라는 말을 듣는다면 다음의

tech.osci.kr

 

 

도커와 도커 컨테이너의 이해

소프트웨어는 결코 단순하지 않다. 아주 기본적인 애플리케이션조차 종속성이 많고, 수 많은 패키지와 라이브러리, 기타 소프트웨어 구성 요소가 있어야 실행이 된다. 동일한 운영체제 환경에

www.itworld.co.kr

 

 

도커와 컨테이너 제대로 알기 – ACCORDION

도커(docker) 컨테이너 기술이 흐름으로 받아지면서 도커 기술에 대한 관심이 갈수록 커지고 있다. 도커에 대해 많이 들어봤으나 모르고 지나칠 수 있는 부분과 혼동하기 쉬운 부분에 대해 정리

accordions.co.kr