moby: docker commands hang on Ubuntu (vivid) today

Description of problem: docker commands hang on Ubuntu

docker version: Version: 1.9.0-dev Git commit: 1529343

docker info: not available (command hangs)

uname -a: Linux warhorse 3.19.0-30-generic #34-Ubuntu SMP Fri Oct 2 22:08:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Environment details (AWS, VirtualBox, physical, etc.):

Physical Ubuntu Vivid (15.04) system.

How reproduce:

I am using the docker experimental build on Ubuntu Vivid (15.04). Today I am not able to complete any docker commands they all hang indefinitely.

Steps to Reproduce:

  1. sudo docker -D info (hangs)
  2. sudo docker version (hangs)
  3. sudo systemctl restart docker
    Job for docker.service failed. See “systemctl status docker.service” and “journalctl -xe” for details.

Actual Results:

All the docker client commands hang. The docker daemon issues an error but is running.

Expected Results:

The docker commands should work even if they can not contact the daemon.

Additional info:

This morning I am unable to run any docker commands successfully. I suspected the docker daemon might have problems so I restarted that service and got a message that it failed:

$ sudo systemctl restart docker Job for docker.service failed. See “systemctl status docker.service” and “journalctl -xe” for details.

Everything appears to be running checking docker.service and ps shows the docker daemon running.

$ sudo systemctl status docker.service -l ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2015-10-07 13:39:25 CDT; 16s ago Docs: https://docs.docker.com Process: 25371 ExecStart=/usr/bin/docker daemon -H fd:// (code=exited, status=2) Main PID: 25371 (code=exited, status=2)

Oct 07 13:37:55 warhorse systemd[1]: Starting Docker Application Container Engine… Oct 07 13:37:55 warhorse docker[25371]: time=“2015-10-07T13:37:55-05:00” level=warning msg=“Running experimental build” Oct 07 13:39:25 warhorse systemd[1]: docker.service start operation timed out. Terminating. Oct 07 13:39:25 warhorse systemd[1]: docker.service: main process exited, code=exited, status=2/INVALIDARGUMENT Oct 07 13:39:25 warhorse systemd[1]: Failed to start Docker Application Container Engine. Oct 07 13:39:25 warhorse systemd[1]: Unit docker.service entered failed state. Oct 07 13:39:25 warhorse systemd[1]: docker.service failed.

According to syslog the last start of the Docker Application Engine failed. /var/log/syslog:

Oct 7 13:37:55 warhorse systemd[1]: docker.service: main process exited, code=exited, status=2/INVALIDARGUMENT Oct 7 13:37:55 warhorse systemd[1]: Unit docker.service entered failed state. Oct 7 13:37:55 warhorse systemd[1]: docker.service failed. Oct 7 13:37:55 warhorse systemd[1]: Stopping Docker Socket for the API. Oct 7 13:37:55 warhorse systemd[1]: Starting Docker Socket for the API. Oct 7 13:37:55 warhorse systemd[1]: Listening on Docker Socket for the API. Oct 7 13:37:55 warhorse systemd[1]: Starting Docker Application Container Engine… Oct 7 13:37:55 warhorse docker[25371]: time=“2015-10-07T13:37:55-05:00” level=warning msg=“Running experimental build” Oct 7 13:39:25 warhorse systemd[1]: docker.service start operation timed out. Terminating. Oct 7 13:39:25 warhorse systemd[1]: docker.service: main process exited, code=exited, status=2/INVALIDARGUMENT Oct 7 13:39:25 warhorse systemd[1]: Failed to start Docker Application Container Engine. Oct 7 13:39:25 warhorse systemd[1]: Unit docker.service entered failed state. Oct 7 13:39:25 warhorse systemd[1]: docker.service failed.

All docker commands hang for me. Is there any other file or information you need to diagnose this problem? Are there any workarounds at this time?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 18 (3 by maintainers)

Most upvoted comments

@fterragna yes i went for a walk and took a nap and after i got back docker finished the migration and everything was working as usual