강의

멘토링

로드맵

인프런 커뮤니티 질문&답변

Fightest님의 프로필 이미지
Fightest

작성한 질문수

따라하며 배우는 도커와 CI환경 [2023.11 업데이트]

Travis CI의 AWS 접근을 위한 API key 생성

배포가 안되고 상태가 심각으로 나옵니다...

작성

·

250

0

강의를 보고 따라서 진행을 했더니 빨간색으로 심각이 나오네요...스크린샷 2022-08-29 오전 2.53.35.png

그래서 로그에 들어가서 최근 100개의 로그를 보니까

오류 원인으로 추정되는 부분이 있었습니다.

2022/08/28 17:41:22.790598 [INFO] save docker tag command: docker tag 0370c9c70821 current_backend:latest
2022/08/28 17:41:22.790604 [INFO] save docker tag command: docker tag d942a3872fb6 current_nginx:latest
2022/08/28 17:41:22.790609 [INFO] save docker tag command: docker tag 75708d3d8c71 current_frontend:latest
2022/08/28 17:41:22.790614 [INFO] save docker tag command: docker tag 2b7d6430f78d nginx:latest
2022/08/28 17:41:22.790618 [INFO] save docker tag command: docker tag 5dcd1f6157bd node:16-alpine
2022/08/28 17:41:22.790631 [INFO] Running command /bin/sh -c docker rm `docker ps -aq`
2022/08/28 17:41:22.942159 [INFO] Error response from daemon: You cannot remove a running container 6a0c86ea39e968de428d3d30608a610c32c9250c12390b835b82e2367f1e5329. Stop the container before attempting removal or force remove
Error response from daemon: You cannot remove a running container 9c2ffeccce2f1e0b49d4f50e7c5de38e7084d077faf3f19123151adc30de6dcb. Stop the container before attempting removal or force remove
Error response from daemon: You cannot remove a running container d4507eceb5d8d6384be032723cbcae38f1a427f9b261cef64c78199ed24595a2. Stop the container before attempting removal or force remove

2022/08/28 17:41:22.942188 [INFO] Running command /bin/sh -c docker rmi `docker images -aq`
2022/08/28 17:41:23.115076 [INFO] Error response from daemon: conflict: unable to delete 968794bfee27 (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete 60a98349297b (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete 0370c9c70821 (cannot be forced) - image is being used by running container d4507eceb5d8
Error response from daemon: conflict: unable to delete 8ad18f4e6824 (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete d942a3872fb6 (cannot be forced) - image is being used by running container 6a0c86ea39e9
Error response from daemon: conflict: unable to delete 69041b2058c4 (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete 75708d3d8c71 (cannot be forced) - image is being used by running container 9c2ffeccce2f
Error response from daemon: conflict: unable to delete f9fde158cd3b (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete b91481250af7 (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete a5f559502b12 (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete 2b7d6430f78d (cannot be forced) - image has dependent child images
Error response from daemon: conflict: unable to delete 5dcd1f6157bd (cannot be forced) - image has dependent child images

이렇게 나오더라구요...

뭐가 원인인지 뭘 해결해야 하는건지 혹시 알려주실 수 있으신가요??ㅠㅠ

퀴즈

59%나 틀려요. 한번 도전해보세요!

이 CI/CD 파이프라인에서 Docker Hub의 주된 역할은 무엇일까요?

소스 코드 저장

테스트 코드 실행

빌드된 도커 이미지 저장소

AWS 서비스 관리

답변

답변을 기다리고 있는 질문이에요
첫번째 답변을 남겨보세요!
Fightest님의 프로필 이미지
Fightest

작성한 질문수

질문하기