for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

Docker is stuck in 'Docker is starting state' - docker ps failed

Open azotova opened this issue 8 years ago • 3 comments

  • [ x] I have tried with the latest version of my channel (Stable or Edge)
  • [ x] I have uploaded Diagnostics
  • Diagnostics ID: 8023F44C-572D-4135-B663-7072EC418D62/20180721-161738

Expected behavior

Docker starts, docker ps command in the terminal works.

Actual behavior

I get the 'Docker is starting' message, docker command doesn't work in the terminal.

Information

Docker used to work fine, but after a hard reboot of my Mac it stopped working (forever stuck in 'Docker is starting' state). I reset factory settings and uninstalled it multiple times (using both the interface and uninstall.sh script), and tried the edge version, but nothing helped. In the process, while restarting Mac, I also updated macOS.

  • current macOS Version: version 10.13.6 (build: 17G65)

Diagnostic logs

Docker for Mac: version: 18.03.1-ce-mac65 (dd2831d4b7421cf559a0881cc7a5fdebeb8c2b98)
macOS: version 10.13.6 (build: 17G65)
logs: /tmp/8023F44C-572D-4135-B663-7072EC418D62/20180721-161738.tar.gz
failure: docker ps failed: (Failure "docker ps: timeout after 10.00s")
[OK]     vpnkit
[OK]     vmnetd
[OK]     dns
[OK]     driver.amd64-linux
[OK]     virtualization VT-X
[OK]     app
[OK]     moby
[OK]     system
[OK]     moby-syslog
[OK]     kubernetes
[OK]     files
[OK]     env
[OK]     virtualization kern.hv_support
[OK]     osxfs
[OK]     moby-console
[OK]     logs
[ERROR]  docker-cli
         docker ps failed
[OK]     disk

Steps to reproduce the behavior

On my Mac

  1. Try to start docker

azotova avatar Jul 21 '18 13:07 azotova

I also tried running diagnostics manually in the terminal and got the following output:

Error echo '00000003.0000f3a6' | nc -U /Users/anastasiazot/Library/Containers/com.docker.docker/Data/vms/0/connect | tar -C /tmp/8023F44C-572D-4135-B663-7072EC418D62/20180721-162928/vms/0 -xf-: timeout after 60.00s
Most specific failure is: docker ps failed: (Failure "docker ps: timeout after 10.00s")
Docker logs are being collected into /tmp/8023F44C-572D-4135-B663-7072EC418D62/20180721-162928.tar.gz
Would you like to upload log files? [Y/n]: Y

Your unique id is: 8023F44C-572D-4135-B663-7072EC418D62

and diagnose.json file contains two errors:

"docker-cli": {
      "success": false,
      "message": [
        "docker ps failed"
      ]
    },
...,
"moby": {
      "success": false,
      "message": [
        "moby check failed with: (Failure\n  \"echo '00000003.0000f3a6' | nc -U /Users/anastasiazot/Library/Containers/com.docker.docker/Data/vms/0/connect | tar -C /tmp/8023F44C-572D-4135-B663-7072EC418D62/20180721-162928/vms/0 -xf-: timeout after 60.00s\")"
      ]
    },

azotova avatar Jul 21 '18 13:07 azotova

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Oct 19 '18 02:10 docker-robott

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jun 29 '20 03:06 docker-robott