Expected behavior
docker-compose up should start the application
Actual behavior
docker-compose up displays “Creating db” and, after a while, ends with an 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).
The db container is actually stuck at the Created status:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
70b64ee3acb8 postgres:9.4 “/docker-entrypoint.s” 8 hours ago Created
db
Screen cam from the session available at: https://dl.dropboxusercontent.com/u/17933965/birthday-app.gif
I changed the COMPOSE_HTTP_TIMEOUT to 120 without any more success.
docker run postgres:9.4 is working and starting the created container also works.
Strange thing: the docker container is created with the “db” name while I expect it to be created with exemplevotingapp_db_1
Information
-
the output of:
-
DockerDebugInfo.ps1
using Powershell on Windows : not work Command NotFoundException
-
-
Windows 10
Steps to reproduce the behavior
- Start with a fresh install of Docker for Windows
- Get a fresh checkout of docker/docker-birthday-3 on github
- from the example-voting-app directory type docker-compose up
- Wait