-
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
M1 support #99
Comments
Since Parallels is now officially supporting Macbook M1 in version 16.5. Is there any update on this? |
@alvint @tobernguyen Could you please elaborate - which exact use case are you interested in? Docker Machine project has been put into the maintenance mode back in 2018 (docker/machine#4537), so it is less likely that Apple M1 support will be added there. Or, are you trying to use it with minikube (which also leverages our driver)? |
Ah, my experience with Docker for Mac is it is still very slow and I just want to try if running the Docker in Ubuntu VM in Parallels could improve that. |
You should be able to start Docker on an Ubuntu VM, using something like Vagrant rather than Machine: https://boot2podman.github.io/2020/07/22/machine-replacement.html http://parallels.github.io/vagrant-parallels/docs/ ("bento/ubuntu-20.04") Otherwise you would need boot2docker for arm64, which is not available. But I'm working on a replacement. |
Does parallells require something special for UEFI, or can it run the images right out-of-the-box ? My normal target is Raspberry Pi, which uses SD cards and a special kernel, rather than an ISO. Basically I'm wondering if this minimal buildroot image works, after With QEMU, we use something similar to:
Does it also work, when run with Parallels ? |
I gave it a try. Unfortunately it hangs on boot and it's not clear why. Will try to investigate. But anyway this has nothing to do the Docker Machine. |
Thanks for testing! It's related in the sense that the minikube.iso is based on buildroot, and it uses libmachine We are preparing a version for arm64, but it's not yet ready for public testing.. See kubernetes/minikube#9228
I do have a version of the ISO with only docker, but it is not yet compatible with machine (like automount and so on) So assuming that the basic platform eventually works, one could make something that would work with docker-machine. For EFI Boot, it seems there is a setting for it: https://kb.parallels.com/en/122735 Eventually we will have better access to the Mac M1, then we can test ourselves. |
Is there any update on this? Because I'm having the exact same issue |
Were you able to get any of the ISO running with Parallels, on Mac M1 ? Some people are working over summer to make an arm64 The main target is Docker's HyperKit, though. kubernetes/minikube#11219 |
Parallels Desktop for Mac with M1 boots operating systems from ISO-images successfully. Ubuntu, Fedora, Debian and others work nicely on arm64. Can someone explain what could be done from docker-machine-parallels' side in scope of this ticket? Frankly speaking I'm a bid disoriented between all these arm64-related tickets in minikube project :-( |
The main ticket (in minikube), is getting an arm64 version of the amd64 ISO. If docker-machine-parallels works OK with something like Ubuntu, then I guess I don't have Parallels here, but something similar to Looking through the source, it seems there is a Another approach is replacing The current workaround for that is to start the VM yourself, then use SSH driver: ("generic"*) That was the reason I mentioned Vagrant above, since NOTE: If you don't use minikube but Docker Machine with parallels, the docs are here: |
You could start with building https://github.com/Parallels/docker-machine-parallels/releases
docker-machine-driver-parallels: Mach-O 64-bit x86_64 executable |
This comment has been minimized.
This comment has been minimized.
There is a CD version (.iso) now, in case it works better than the HD version (.img) https://github.com/afbjorklund/minimal-buildroot/releases/tag/0.2 (it requires UEFI) I would be interested in knowing if it works on Paralllels too, either amd64 or arm64 ? It will form the base of the new multi-arch ISO for minikube (possibly also machine) |
The image mentioned above can't boot as a boot2docker image? Any other solutions? Thanks |
You can use this boot2docker-arm64.iso image for testing, if needed (should boot, without disk) |
I run and the log shows:
And then I get stuck in |
It is probably just missing the setup, the image is only half-done - it should boot and show a console, not sure about ssh yet The old scripts needs porting over, from init to systemd https://github.com/afbjorklund/boot2docker-debian/blob/master/scripts/autoformat.sh (newer versions exists as well, for TCL) |
@hirakujira : Note that both docker-machine and boot2docker are dead upstream now So any continued development would need a new name (moby?), in order to continue |
Parallels is working on support for M1 Macs. This is just a blanket issue to ensure compatibility (or document incompatibility) with the M1 version of Parallels. This should probably be parked until at least a beta of Parallels M1 is available.
BTW, I volunteer my M1s as guinea pigs if needed (MBP and DTK).
The text was updated successfully, but these errors were encountered: