Docker Community Forums

Share and learn in the Docker community.

Hangs when waking up from sleep


(Kostas) #1

Expected behavior

To wake up from sleep and keep the docker containers running.

Actual behavior

It becomes unresponsive when trying to access the filesystem.

Information

pinata diagnose -u before hanging

OS X: version 10.10.5 (build: 14F1713)
Docker.app: version v1.11.1-beta11
Running diagnostic tests:
[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
Docker logs are being collected into /tmp/20160511-150923.tar.gz
Most specific failure is: No error was detected
Your unique id is: 1D2B249F-2B5B-437E-83D5-A651EE220B24
Please quote this in all correspondence.

pinata diagnose -u after hanging

OS X: version 10.10.5 (build: 14F1713)
Docker.app: version v1.11.1-beta11
Running diagnostic tests:
Error docker ps: timeout after 10.00s
Thread 6 killed on uncaught exception Misc.Failure
Error docker ps: timeout after 10.00s
[ERROR]   docker-cli       docker ps failed: 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
Docker logs are being collected into /tmp/20160511-151156.tar.gz
Most specific failure is: docker ps failed: Misc.Failure
Your unique id is: 1D2B249F-2B5B-437E-83D5-A651EE220B24
Please quote this in all correspondence.

Dockerfile

postgres:latest

Host distribution and version

  • OS X 10.10.5

Steps to reproduce the behavior

  1. docker run --rm -it postgres
  2. Wait for DB to boot up (LOG: autovacuum launcher started)
  3. Put Mac to sleep (I used a MacBook so I closed the lid)
  4. Wait a few moments (half a minute should be enough)
  5. Wake the Mac
  6. At this point piñata is ok
  7. Hit ctrl-C on the running docker container
  8. Docker hangs

syslog -k Sender Docker

New users can’t upload file and can’t put links on a post…

Check the gist at vrinek/0d9f404622606f66f95618c814a91908