zabo-front-reactjs icon indicating copy to clipboard operation
zabo-front-reactjs copied to clipboard

Docker image 주기적으로 prune

Open withSang opened this issue 1 year ago • 0 comments

Summary

자동 배포 파이프라인에서 새 이미지를 pull받아 컨테이너를 재시작하면 기존 이미지가 삭제되지 않고 남아있습니다. 프로덕션 서버에서는 docker image prune -f를 쓰면 되는데, 공용으로 사용하는 개발 서버에서는 저 커맨드 대신 다른 방법을 찾아봐야할 것 같습니다.

Tasks

  • [ ] 프로덕션 서버에서 Docker image 주기적으로 prune
  • [ ] 개발 서버에서 Docker image 주기적으로 prune

withSang avatar Sep 17 '23 02:09 withSang