Skip to content

Commit

Permalink
[Setting] promtail 컨테이너 제거 과정 추가 (#378)
Browse files Browse the repository at this point in the history
remove-container.sh에 promtail 삭제 커맨드 추가
  • Loading branch information
jjddhh authored Aug 23, 2023
1 parent 30a9030 commit b2babb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BE-MyCarMaster/scripts/remove-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# 가동중인 도커 중단 및 삭제
sudo docker ps -a -q --filter "name=my-car-master" | grep -q . && docker stop my-car-master && docker rm my-car-master | true
sudo docker ps -a -q --filter "name=promtail" | grep -q . && docker stop promtail && docker rm promtail | true

# 기존 이미지 삭제
sudo docker rmi softeerh5/my-car-master || true

0 comments on commit b2babb7

Please sign in to comment.