Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helper install infinite loop #2687

Closed
ehershey opened this issue Mar 12, 2018 · 9 comments
Closed

Helper install infinite loop #2687

ehershey opened this issue Mar 12, 2018 · 9 comments
Assignees

Comments

@ehershey
Copy link

Expected behavior

First run of Docker.app installs helper then starts normally.

Actual behavior

Infinite loop of "Docker needs privileged access" and username/password dialog.

Information

Can't run "Diagnose & Feedback" in the menu - selecting the option does nothing (presumably because the privileged access dialog is open and can't be dismissed without exiting).

[ernie@eahimac2 ~]$ /Applications/New/Docker.app//Contents/Resources/bin/docker version
Client:
 Version:       17.12.0-ce
 API version:   1.35
 Go version:    go1.9.2
 Git commit:    c97c6d6
 Built: Wed Dec 27 20:03:51 2017
 OS/Arch:       darwin/amd64
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[ernie@eahimac2 ~]$

Steps to reproduce the behavior

  1. Fully uninstall or start fresh
  2. sudo launchctl disable system/com.docker.vmnetd
  3. Launch Docker.app
  4. Shows "We are whaly happy to have you" dialog - click Next
  5. App icon shows up in my dock and I see "Docker needs privileged access" dialog - click OK
  6. Shows "Docker is trying to add a new helper tool" dialog - enter password and click Add Helper
  7. App icon in dock bounces and the "Docker needs privileged access" dialog reappears
@ehershey
Copy link
Author

ehershey commented Mar 12, 2018

I somehow got myself into this frustrating state after some combination of old docker machine installs/uninstalls in the past and running "brew upgrade docker" and "brew uninstall --force docker" right before using a version downloaded directly. Once I ran

sudo launchctl load  -w /Library/LaunchDaemons/com.docker.vmnetd.plist

by hand, which re-enabled the disabled service while loading it, it fixed everything. It's minutely possible I had disabled the service by hand at some point, but I'm pretty sure I didn't.

@akimd
Copy link
Contributor

akimd commented Mar 12, 2018

Hi @ehershey. Without diagnostics, there's no debugging we can do.

@akimd akimd self-assigned this Mar 15, 2018
@akimd
Copy link
Contributor

akimd commented Mar 26, 2018

No answer, and a new stable was released.

@akimd akimd closed this as completed Mar 26, 2018
@orefalo
Copy link

orefalo commented Apr 6, 2018

same issue. Looping on "Docker needs priviled access"

FYI:

sudo launchctl load -w /Library/LaunchDaemons/com.docker.vmnetd.plist

fixed it ;-)

@xbeta
Copy link

xbeta commented Apr 13, 2018

Got the same issue, @orefalo's recommendation works!

@akimd
Copy link
Contributor

akimd commented Apr 13, 2018

That's good news! But I would like to know in what state Docker was so that this fix was needed. I don't know how to reproduce it. Also, I would like to know the versions of Docker for Mac that are troublesome on this regard.

TIA!

@akimd akimd reopened this Apr 13, 2018
@akimd
Copy link
Contributor

akimd commented May 29, 2018

Closing, since it seems that we found a good way to tell the user how to get out of this hell (#2934).

@bjarthur
Copy link

rebooting worked for me

@docker-robott
Copy link
Collaborator

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 docker locked and limited conversation to collaborators Jul 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants