-
Notifications
You must be signed in to change notification settings - Fork 35
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
Docker Machine is not running properly after update to macOS Catalina #83
Comments
any updates on this? I have similar problem. before latest Catalina updates all went well, but now on come commands like |
@KatSick Maybe this helps: Homebrew/homebrew-core#45687 (comment) |
@mediaessenz , does this workaround help for you? |
Yes |
An Update: |
Am I really the ony one on this planet who have problems with using docker machine together with parallels desktop on macOS Catalina? |
After comparing the debug output of the first (working) start (create command) and the second (not working) start (start command) I found this different which may can help to identify the problem:
|
Well, it looks like the issue is in broken IP address reporting from virtual machine. I'm investigating it. |
Any news about this? |
It looks like this is duplicate of #docker/machine#3595. For example, switching to older version of boot2docker works for me:
|
Well, now after more investigation I tend to reference this issue down to the lack of entropy at the start of virtual machine. It is described in #boot2docker/boot2docker#1322 (comment). Watching at
–dockerd hangs at the start of the system which results in Issue is reproduced on the recent boot2docker versions, like current 19.03.5, based on Linux kernel 4.14. Version 18.06.1 works because it is based on Linux kernel 4.9 where entropy pool state during VM boot is better. |
@romankulikov You are my HERO!!! |
@romankulikov Sorry in advance if the question is dumb. I understand this is an issue with boot2docker image, but isn't this a show stopper? Aren't other drivers affected by this and if no, is there a way Parallels driver can adapt? If I understand correctly the referencing PR had something to do with fixing this, but the latest version (on Mojave) still shows the same behaviour (can create, cannot restart). |
I've tried Parallels Desktop 15.1.2 and VirtualBox 6.1.4 with Boot2Docker v19.03.5–both work ok for me at the moment. At least in this case of creating and starting "dinghy" machine. @ianbytchek, can you please share your setup for me to reproduce the problem? Speaking about the lack of entropy when starting the guest OS on the one hand it does look like a showstopper. On the other hand it doesn't look a like an easy thing to fix. On the third hand issue is currently addressed in modern Linux kernels: Not sure where to move forward. |
Well, it looks like boot2docker starting from 19.03.5 has a backported patch from Linux kernel 5.4 with entropy fixes. So my picture of the problem is broken. And I need to know if one can reproduce the issue with recent boot2docker image. |
Unfortunately, at least for me, the problem still exists with the latest boot2docker image (19.03.5) |
@romankulikov Tried it with
|
boot2docker And, unfortunately, it seems there will be no releases anymore 😭 : boot2docker/boot2docker#1408 |
Yeah :-( @legal90, how should we proceed with this issue? From my point it should be fixed only on guest OS (i.e. boot2docker) side. Is forking boot2docker an option? |
@romankulikov Building and releasing a custom I asked here if there is any chance for the patch to be released: boot2docker/boot2docker#1403 (comment) |
v19.03.12, the final release of boot2docker was published today: https://github.com/boot2docker/boot2docker/releases/tag/v19.03.12 It includes the fix boot2docker/boot2docker#1403 and this issue should be solved there. I checked it on the test vm by doing |
YES, IT WORKS ! Thanks a lot to all involved people! |
After the first generation of a new machine (in my case done by "dinghy", a reverse proxy solution) everything seems to work normal.
But after stopping the machine and try to start it again, its not working anymore.
The startup ends up with this error message
After starting the machine with debug option I get ten times this fault, before the upper error comes up again:
Watching the bootup sequence by opening the miniature window inside the parallel controll panel I see several errors and warning during the first bootup:
Independent of this messages the machine works as expected until I stop and start it again.
If I doing this, I see only one warning during the bootup inside the parallels window:
I have two macs (both already updated to macOS Catalina) with exact the same problem (after updating the system).
There is also an issue I posted at the dinghy repo, but the autor means the problem stuck inside docker-machine or this parallels connector:
codekitchen/dinghy#290
The text was updated successfully, but these errors were encountered: