#TIL docker 용어 image, registry, container, data volume

레지스트리에서 이미지를 다운로드 받고 격리해서 실행하는데 필요한 설정을 추가해서 컨테이너를 생성해 실행한다. 데이터 볼륨을 만들어서 컨테이너에 마운트해서 사용할 수 있다.

읽기 전용 이미지를 공유해서 쓰고 그 위에 읽기 쓰기가 가능한 레이어를 추가해서 실행한다. 훌륭하다.

docker image

A Docker image is a read-only template. For example, an image could contain an Ubuntu operating system with Apache and your web application installed. [.] Images are used to create Docker containers. [.] Docker images are the build component of Docker.

이미지는 컨테이너를 만들 때 사용되는 읽기 전용 템플릿이다.

docker registrie

Docker registries hold images. These are public or private stores from which you upload or download images. The public Docker registry is provided with the Docker Hub. [.] Docker registries are the distribution component of Docker. [.]

이미지 저장소.

docker container

Docker containers are similar to a directory. A Docker container holds everything that is needed for an application to run. Each container is created from a Docker image. Docker containers can be run, started, stopped, moved, and deleted. Each container is an isolated and secure application platform. Docker containers are the run component of Docker.

A container consists of an operating system, user-added files, and meta-data. [.] That image tells Docker what the container holds, what process to run when the container is launched, and a variety of other configuration data. The Docker image is read-only. When Docker runs a container from an image, it adds a read-write layer on top of the image (using a union file system as we saw earlier) in which your application can then run.

격리해서 실행하는 데 필요한 모든 걸 담고 있다. 읽기 전용인 이미지로부터 만들어지며 이미지 가장 위에 읽기 쓰기가 가능한 레이어를 추가된다.

data volume

A data volume is a specially-designated directory within one or more containers that bypasses the Union File System.

컨테이너에 마운트해서 사용할 수 있는 디렉토리다.


Feedback plz <3 @ohyecloudy, ohyecloudy@gmail.com