-
도커와 CI환경 - (1) 도커(docker)와 컨테이너, 도커를 쓰는 이유CI-CD 2022. 12. 27. 01:46반응형
도커(docker)란?
컨테이너를 사용하여 응용프로그램을 더 쉽게 만들고 배포하고 실행할 수 있도록 설계된 도구입니다.
컨테이너 기반의 오픈소스 가상화 플랫폼, 생태계입니다.
컨테이너라는 개념이 자주 나오는데, 컨테이너는 뭘까요?
컨테이너(Container)란?
일반적인 컨테이너의 개념
물건을 다양한 운송수단으로 쉽게 옮길 수 있도록 하는 상자 모양의 수송용기입니다.
서버의 컨테이너 개념
컨테이너 안에 여러가지의 실행환경과 프로그램을 넣어 이미지화 시켜 AWS(Amazon Web Service), GCP(Google Cloud Platform), Microsoft Azure등의 여러가지 환경에서 같은 실행 할 수 있도록 하는 박스입니다.
도커를 쓰는 이유
AWS
Docker를 사용하면 코드를 더 빨리 전달하고, 애플리케이션 운영을 표준화하고, 코드를 원활하게 이동하고, 리소스 사용률을 높여 비용을 절감할 수 있습니다. Docker를 사용하면 어디서나 안정적으로 실행할 수 있는 단일 객체를 확보하게 됩니다. Docker의 간단한 구문을 사용해 완벽하게 제어할 수 있습니다. 폭넓게 도입되었다는 것은 Docker를 사용할 수 있는 도구 및 상용 애플리케이션의 에코시스템이 강력하다는 의미입니다.
https://aws.amazon.com/ko/docker/
Azure
마이크로소프트 Azure는 3단어로 설명합니다.
민첩성, 이식성, 신속한 확장성
Google Cloud Platform(GCP)
책임 분리
컨테이너화를 통해 책임을 깔끔하게 분리할 수 있습니다. 즉, 개발자는 애플리케이션의 로직과 종속 항목에 집중하고, IT 운영팀은 특정 소프트웨어 버전 및 구성과 같은 애플리케이션의 세부 요소 대신 배포 및 관리에 집중할 수 있습니다.
워크로드 이동성
컨테이너는 Linux, Windows, Mac 등의 운영체제를 가리지 않고, 가상 머신, 물리적 서버, 개발자 컴퓨터, 데이터 센터, 온프레미스 환경, 퍼블릭 클라우드 등 사실상 어느 환경에서나 구동되므로 개발 및 배포가 크게 쉬워집니다.
애플리케이션 격리
컨테이너는 운영체제 수준에서 CPU, 메모리, 스토리지, 네트워크 리소스를 가상화하므로 개발자에게 다른 애플리케이션으로부터 논리적으로 격리된 OS 환경을 제공합니다.
https://cloud.google.com/learn/what-are-containers?hl=ko#section-3
반응형'CI-CD' 카테고리의 다른 글
도커와 CI환경 - (5) 도커(docker) 이미지 다뤄보기 (0) 2023.01.16 도커와 CI환경 - (4) 도커(docker) 컨테이너의 생명주기 (0) 2023.01.13 도커와 CI환경 - (3) 도커(docker) 사용해보기 (0) 2022.12.29 도커와 CI환경 - (2) m1 맥 도커(docker)설치 (2) 2022.12.28