도커 6

[Docker] Container의 Lightweight (컨테이너가 가벼운 이유)

요약 Container에 포함되는 OS 이미지에는 kernel이 없으며, host kernel을 공유하여 사용하므로 가볍다. Container의 OS와 host의 kernel이 충분히 호환되면 동작하며, 그렇지 않을 경우 동작하지 않는다. 컨테이너가 가벼운 이유? 컨테이너는 머신 OS system의 kernel을 공유하므로 application마다 OS를 필요로 하지 않고, 따라서 서버에 더 효율적이고 서버의 수와 라이센스 비용을 줄인다. Containers share the machine’s OS system kernel and therefore do not require an OS per application, driving higher server efficiencies and reducing se..

[Docker] Docker Daemon (dockerd)

https://iximiuz.com/en/posts/implementing-container-runtime-shim/ Implementing Container Runtime Shim: runc What is a container runtime shim? Why the shim is needed? How to use OCI container runtime (runc) in command line and from code. iximiuz.com 구조 dockerd - Container Engine 개발자 경험에 집중 High-level task 처리 - login / build / inspect / attach Swarm과 같은 orchestration 지원 - Docker swam : docker engi..

[Docker] Docker 정리 (정의/아키텍쳐)

https://docs.docker.com/get-started/overview/ Docker overview docs.docker.com 정의 Docker software deliver를 빠르게 해주는 플랫폼 software deliver - new feature가 적용되어 production으로 사용되는 과정 https://martinfowler.com/delivery.html Software Delivery Guide Articles on the path from finished programming to production. martinfowler.com Docker의 주요 keyword image container Docker image Docker container를 만들기 위한 instruc..

[EagleEye][서비스구현] Spring boot with Docker

https://spring.io/guides/gs/spring-boot-docker/ Spring Boot with Docker this guide is designed to get you productive as quickly as possible and using the latest Spring project releases and techniques as recommended by the Spring team spring.io 이전 설정들(카프카, 주키퍼, 도커 등등)은 모두 날려버리고, 리눅스 설치 + 도커부터 다시 시작 Containerize Spring application을 구현 - 먼저 branch-service로 테스트 github에서 프로젝트 가져오기 >> git clone https:..

만들기/EagleEye 2022.05.13

[Docker] Docker란

정의 애플리케이션을 신속하게 구축, 테스트, 배포할 수 있는 소프트웨어 플랫폼 컨테이너라는 표준화된 유닛으로 소프트웨어를 패키징 컨테이너에는 라이브러리, 시스템 도구, 코드, 런타임 등 소프트웨어 실행에 필요한 모든 것을 포함 Docker 사용시 환경에 구애받지 않고 애플리케이션을 신속하게 배포/확장하고 코드가 문제없이 실행됨을 보장 사용하는 이유 Docker는 DevOps 및 개발자에게 도움되도록 설계된 개방형 애플리케이션 개발 프레임워크 개발자 Docker를 사용하여 경량의 휴대 가능한 자립형 컨테이너로 애플리케이션을 쉽게 빌드/패키징/배송/실행 운영체제/배포 시스템 등을 걱정하지 않고 애플리케이션 코드에만 집중하면서 사용 가능 오픈소스 컨테이너 애플리케이션 활용 가능 DevOps 지속적인 통합(CI..