IT

ERROR: for docker_echo_1 An HTTP request took too long to complete. Retry with --verbose to obtain debug information.

프로개발러 2022. 11. 25. 08:45
반응형

ERROR: for docker_echo_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

 

docker-compose down 명령어를 했을 때, 위와 같은 에러가 나온다면

 

일단은 ctrl+c를 누르지말고 기다려보기를 추천한다.

 

docker ps 에서는 아무것도 없는것처럼 보이지만

 

docker ps -a를 확인해보면

위와 같이 Removal In Progress 로 빠진것을 확인할 수 있다

 

디스크 사용량을 보면 조금씩 줄고 있으니 

그대로 두는것을 추천한다.

 

그래도 안되면 아래 방법 시도

 

Docker 상태가 removal 빠진다면

sudo service docker stop 후에

Sudo docker rm -f [image_id]

 

Sudo Service docker start시킴

 

 

 

위의 방법으로도 안되면 아래 방법 시도

 

Sudo Service docker stop
sudo rm -rf /var/lib/docker/containers/<CONTAINER_ID>
Sudo Service docker start

 

 

Docker-compose up -d

 

반응형