Docker Community Forums

Share and learn in the Docker community.

Docker-compose ... fails with ReadTimeout after reboot of Mac


(Andreas Pfeiffer) #1

Expected behavior

start the build in the directory, then run the service …

Actual behavior

$ docker-compose --verbose run web .
compose.config.config.find: Using configuration files: ./docker-compose.yaml
docker.auth.auth.load_config: File doesn’t exist
Traceback (most recent call last):
File “”, line 3, in
File “compose/cli/main.py”, line 57, in main
File “compose/cli/main.py”, line 105, in perform_command
File “compose/cli/command.py”, line 31, in project_from_options
File “compose/cli/command.py”, line 76, in get_project
File “compose/cli/command.py”, line 52, in get_client
File “site-packages/docker/api/daemon.py”, line 78, in version
File “site-packages/docker/utils/decorators.py”, line 47, in inner
File “site-packages/docker/client.py”, line 120, in _get
File “site-packages/requests/sessions.py”, line 477, in get
File “site-packages/requests/sessions.py”, line 465, in request
File “site-packages/requests/sessions.py”, line 573, in send
File “site-packages/requests/adapters.py”, line 433, in send
requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host=‘localhost’, port=None): Read timed out. (read timeout=60)
docker-compose returned -1

Information

  • the output of:
    • pinata diagnose -u on OSX

pinata diagnose -u
OS X: version 10.11.3 (build: 15D21)
Docker.app: version v1.11.0-beta7
Running diagnostic tests:
Error docker ps: timeout after 10.00s
[ERROR] docker-cli docker ps failed: Misc.Failure
Error docker ps: timeout after 10.00s
Thread 6 killed on uncaught exception Misc.Failure
[OK] docker-cli
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Error nc -U /tmp/diagnose.socket > /tmp/20160415-114742/diagnostics.tar: timeout after 30.00s
Docker logs are being collected into /tmp/20160415-114742.tar.gz
Most specific failure is: docker ps failed: Misc.Failure
Your unique id is: 5DDB2A51-0F70-4DEF-BFDC-5CC957249D43
Please quote this in all correspondence.

  • a reproducible case if this is a bug, Dockerfiles FTW
    following the instructions for the “QuickStart: Compose and Django” (from https://docs.docker.com/compose/django/)

  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )
    OSX 10.11.3

Steps to reproduce the behavior

Note: The example was running OK after the initial install of Docker for Mac, then I had to reboot my mac and only after this the problem as described here occurred.

follow the instructions for the “QuickStart: Compose and Django” (from https://docs.docker.com/compose/django/)

Update: after uninstalling Docker and re-installing it from the .dmg file I can work again. So it’s not very urgent (well, until the next time I need to reboot) …