대충이라도 하자

Docker 본문

꼬꼬마 개발자 노트

Docker

Sueeeeee
반응형

1. What is docker?

- A platform for building, running and shipping applications

 

 *** 가끔 application이 작동하지 않을 수 있음

 - configuration

- some files are missing

- software version mismatch

-> To resolve this, docker is needed!

Consistently, build, run and ship applications

 

2. Containers Vs VM

 Container

- An isolated environment for running an application

- allow running multiple apps in isolation

- are lightweight

- use os of the host

- start quickly

- need less hardware resources

 

VM

- An abstraction of a machine (physical hardware)

- slow to start

- Each VMm needs a full-blown OS

- resource intensive

 

3. Docker Architecture

 

4. Development workflow

Image

- a cut-down os

- a runtime environment

- application files

- third-party libraries

- environment variables

 

docker는 image파일이 있으면, container에게 그 이미지를 사용해서 start하라고 알려줌

container는 process같은 것

 

 

 

 

반응형

'꼬꼬마 개발자 노트' 카테고리의 다른 글

docker ps 시, permission denied 오류  (0) 2023.01.05
멱등(Idempotent)  (0) 2022.04.24
API 설계  (0) 2022.02.09
Stateless & Connectionless  (0) 2022.01.27
Elasticsearch 설치 및 사용 (Windows)  (0) 2022.01.18
Comments