# docker rollout - Docker Compose용 Zero Downtime Deployment 도구

> Clean Markdown view of GeekNews topic #8445. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=8445](https://news.hada.io/topic?id=8445)
- GeekNews Markdown: [https://news.hada.io/topic/8445.md](https://news.hada.io/topic/8445.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2023-02-10T10:03:01+09:00
- Updated: 2023-02-10T10:03:01+09:00
- Original source: [github.com/Wowu](https://github.com/Wowu/docker-rollout)
- Points: 14
- Comments: 0

## Topic Body

- Docker CLI 플러그인으로 다운타임 없이 Docker Compose 서비스를 업데이트   
- 배포 스크립트에서 `docker compose up -d &lt;service&gt;` 를 `docker rollout &lt;service&gt;` 로 교체하면 끝  
- 자동으로 서비스를 2개의 인스턴스로 스케일한 다음, 새로운 컨테이너가 준비될때 까지 기다렸다가 예전 컨테이너를 삭제해 줌   
- 현재는 1개짜리 서비스만 지원   
- 트래픽 라우팅을 위해서 Traefik 또는 nginx-proxy 같은 프록시 필요

## Comments



_No public comments on this page._
