If you are using Docker and you get the error ** [An HTTP request took too long to complete.] ** when trying to start the container with docker-compose up -d
, this is the solution. ..
Until now, I didn't get an error when I started the container, but suddenly I got an error with the same command.
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).
In conclusion, restarting *** Docker for Windows *** fixed it.
-Click the Docker icon (whale icon) at the top right of the screen.
・ Click *** Quit Docker Desktop ***.
-When the app is closed, restart *** Docker for Windows ***.
-Start the container with docker-compose up -d
.
Docker has started successfully.
I've just started using Docker recently, so I was a little impatient, but it was an easy solution if I dealt with it calmly. I will post it as a memorandum. Thank you for reading to the end: grin: