Docker:Stack
lastmod 2026-11-10created 2018-08-192 edits
docker stack은 Docker Swarm 모드에서 Compose 파일로 정의한 여러 서비스를 하나의 묶음(스택)으로 배포·관리하는 명령이다. docker stack deploy로 클러스터에 올리고 docker stack ps, docker stack services로 각 노드에 퍼진 태스크 상태를 본다. 단일 호스트용 docker compose 와 파일 형식은 거의 같지만 복제 수, 배치 제약, 롤링 업데이트 같은 Swarm 전용 deploy 설정을 쓴다.
Complete error message
You need to use below command for the same