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

Stuck at "Docker is starting"

Open andrewaeva opened this issue 8 years ago • 6 comments

  • [x] I have tried with the latest version of my channel (Stable or Edge)
  • [x] I have uploaded Diagnostics
  • Diagnostics ID: 93B2A86A-C2D8-4ADA-9D11-C8463A0379F4/20180711-122956

Expected behavior

Docker starts

Actual behavior

Stuck at "Docker is starting"

Information

  • macOS Version: Sierra

Diagnostic logs

Docker for Mac: version: 18.05.0-ce-mac67 (1fa4e2acfc1a52f79623add2390604515d32297e)
macOS: version 10.12.6 (build: 16G1212)
logs: /tmp/93B2A86A-C2D8-4ADA-9D11-C8463A0379F4/20180711-122956.tar.gz
failure: docker ps failed: (Failure "docker ps: timeout after 10.00s")
[OK]     vpnkit
[OK]     virtualization hypervisor
[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

andrewaeva avatar Jul 11 '18 09:07 andrewaeva

screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty

andrewaeva avatar Aug 27 '18 10:08 andrewaeva

I've reliably worked around this by quitting docker and background services, and rebooting MacOS. If it happens again I'll capture the tty.

thanks.

On Mon, Aug 27, 2018, 5:39 AM Andrey Abakumov [email protected] wrote:

screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/docker/for-mac/issues/3074#issuecomment-416186519, or mute the thread https://github.com/notifications/unsubscribe-auth/AX0tOMS-_ukNtF5j0y6MD6Fnlpnr-vxbks5uU8x6gaJpZM4VK0bc .

a-canary avatar Aug 27 '18 14:08 a-canary

I have the same issue (restarting Docker doesn't help). If I run that screen command, this is what I see:

        /go/src/github.com/containerd/containerd/vendor/github.com/boltdb/bolt/freelist.go:121 +0x2ed
github.com/containerd/containerd/vendor/github.com/boltdb/bolt.(*node).spill(0xc4200ac540, 0xc4204f7198, 0x2)
        /go/src/github.com/containerd/containerd/vendor/github.com/boltdb/bolt/node.go:363 +0x1fc
github.com/containerd/containerd/vendor/github.com/boltdb/bolt.(*Bucket).spill(0xc4200dc018, 0x404b9c5, 0x7f0185a66900)
        /go/src/github.com/containerd/containerd/vendor/github.com/boltdb/bolt/bucket.go:570 +0x4ba
github.com/containerd/containerd/vendor/github.com/boltdb/bolt.(*Tx).Commit(0xc4200dc000, 0x0, 0x0)
        /go/src/github.com/containerd/containerd/vendor/github.com/boltdb/bolt/tx.go:163 +0x121
github.com/containerd/containerd/vendor/github.com/boltdb/bolt.(*DB).Update(0xc4201f81e0, 0xc4204f7540, 0x0, 0x0)
        /go/src/github.com/containerd/containerd/vendor/github.com/boltdb/bolt/db.go:605 +0xea
github.com/containerd/containerd/metadata.(*DB).Init(0xc4200d23c0, 0x7f01853706c0, 0xc4200b6010, 0xc4204f7660, 0xc4200d23c0)
        /go/src/github.com/containerd/containerd/metadata/db.go:103 +0xb1
github.com/containerd/containerd/server.LoadPlugins.func2(0xc4200ac3f0, 0xc4200404e0, 0xf, 0xc420460d80, 0x1e)
        /go/src/github.com/containerd/containerd/server/server.go:255 +0x53f
github.com/containerd/containerd/plugin.(*Registration).Init(0xc4201d0730, 0xc4200ac3f0, 0xc4201d0730)
        /go/src/github.com/containerd/containerd/plugin/plugin.go:98 +0x3a
github.com/containerd/containerd/server.New(0x7f0184d8b070, 0xc4200b6010, 0xc420436120, 0x1, 0xc4204f7c80, 0x7f01840905ad)
        /go/src/github.com/containerd/containerd/server/server.go:106 +0x600
github.com/containerd/containerd/cmd/containerd/command.App.func1(0xc42047e000, 0xc42047e000, 0xc4202e1d07)
        /go/src/github.com/containerd/containerd/cmd/containerd/command/main.go:132 +0x5fb
github.com/containerd/containerd/vendor/github.com/urfave/cli.HandleAction(0x7f018515d540, 0x7f018534d2d8, 0xc42047e000, 0xc420088300, 0x0)
        /go/src/github.com/containerd/containerd/vendor/github.com/urfave/cli/app.go:502 +0xca
github.com/containerd/containerd/vendor/github.com/urfave/cli.(*App).Run(0xc420472000, 0xc4200aa190, 0x1, 0x1, 0x0, 0x0)
        /go/src/github.com/containerd/containerd/vendor/github.com/urfave/cli/app.go:268 +0x60e
main.main()
        github.com/containerd/containerd/cmd/containerd/main.go:28 +0x51

kenyee avatar Sep 02 '18 00:09 kenyee

Found on another issue, someone said reset to factory defaults. That worked for me. Just deleting all data did not. I'm also on Version 18.06.1-ce-mac73 (26764)

kenyee avatar Sep 02 '18 00:09 kenyee

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 Dec 01 '18 02:12 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