본문 바로가기
에러 해결

Error response from daemon: Conflict. The container name "/kafka-container" is already in use by container "97c20298288e70e4b760e83c84326912265bf9537ea059f713f04704f18eab43". You have to remove (or rename) that container to be able to reuse that name.

by eun5098 2025. 5. 17.
728x90

docker-compose up -d를 했는데 다음과 같은 에러가 발생하는 경우.

 

1.

docker-compose down -v --remove-orphans

 

그래도 안될 경우,

1.

docker -ps

docker -ps로 실행되고 있는 사용하지 않는 찌끄러기(?) 도커 파일 삭제하기

-> 삭제는 docker rm CONTAINER ID

1개 이상 걍 필요없는데 동작하고 있는 불필요한 컨테이너들 다 삭제하면 됨.

2.

docker-compose up -d --build

 

이래도 안된게 나ㅎㅎㅎㅎㅎ

 

그래도 안될경우에는!!!

pip install cryptography

 

에러 보니 해당 라이브러리가 설치되어 있지 않았음ㅜㅜ....ㅎ

 

해결 완^_^

'에러 해결' 카테고리의 다른 글

kafkaConnectionError 해결  (0) 2025.05.24
Docker Desktop - Unexpected WSL error  (0) 2025.05.17