민프

[Docker] 3. Docker 입문 - 이미지 PULL (생활코딩 정리) 본문

[Docker]

[Docker] 3. Docker 입문 - 이미지 PULL (생활코딩 정리)

민프야 2022. 3. 11. 13:21

https://www.youtube.com/watch?v=EbTJtanJUfE&list=PLuHgQVnccGMDeMJsGq2O-55Ymtx0IdKWf&index=3 

 

PULL: 도커 허브에서 이미지를 다운 받는 행위

RUN: 이미지를 실행시키는 행위, 이미지가 컨테이너가 되고, 컨테이너가 실행 되면서 컨테이너 안에 들어있는 실행되도록 조치되어있는 프로그램이 실행 되면서 우리는 그 프로그램을 사용할 수 있게 된다. 

 

그럼 도커허브에서 이미지를 다운 받아보자 

https://hub.docker.com/_/httpd

 

Httpd - Official Image | Docker Hub

We and third parties use cookies or similar technologies ("Cookies") as described below to collect and process personal data, such as your IP address or browser information. You can learn more about how this site uses Cookies by reading our privacy policy

hub.docker.com


 

Docker 명령어에 대한 설명은 밑에 문서 링크에 있다. 

https://docs.docker.com/engine/reference/commandline/pull/ 

 

docker pull

docker pull: Most of your images will be created on top of a base image from the [Docker Hub](https://hub.docker.com) registry. [Docker Hub](https://hub.docker.com) contains many pre-built images that you can `pull`...

docs.docker.com


명령어를 통해서 다운 받은 이미지를 확인해보자 (Comand Line or Docker Desktop)

docker images

터미널에서 확인
Docker 데스크탑에서 확인

Comments