-
Notifications
You must be signed in to change notification settings - Fork 118
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
Fails to install without error if com.docker.vmnetd is disabled #3035
Comments
@Zenexer wow, thanks for such a thorough report! I'll see what we can do to handle this error better -- although we can't automatically run |
The next version of edge and stable will have the @Zenexer thanks again for your help! |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an 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. |
Closed issues are locked after 30 days of inactivity. 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. |
It's possible for the launchd daemon
com.docker.vmnetd
to be in a disabled state even when it doesn't exist on the system. This persists after old versions of Docker are uninstalled. Resetting Docker to defaults or completely reinstalling won't fix the issue.When this happens, Docker won't proceed past the prompt to install the networking service. It will prompt for credentials, but the dialog will not disappear. Pressing OK again prompts for the credentials again. There is no visible error, though the following will appear in Console.app:
If the cause of this error is that
com.docker.vmnetd
is disabled,launchctl print-disabled system
will output the following:If the value is
false
instead oftrue
, or the entry is missing, the issue described here is not the cause of the error.From Yosemite onward (at least as far as High Sierra), there is no direct way to completely restore this setting, such that the override entry is removed. The only way to do so appears to be an offline edit of system files, typically via Single User Mode:
Since that's not something that the installer or troubleshooter can easily attempt, the next-best solution is to change the disabled override flag to
false
, either via:or:
launchctl print-disabled system
will then look like this:In my case, to get Docker running, I had to completely restart the installation process, which involved:
I was then prompted to install the networking service again, which succeeded.
This issue is probably the cause of these reports:
Several of these report may alternatively have been caused by lack of a writable
/var/tmp/
, which is already mentioned in several places.The text was updated successfully, but these errors were encountered: