-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[5.0.0 osx] Unable to start the podman machine with osx Monterey #22121
Comments
Unfortunately I think the best way forward is to move back to Podman 4.9, by uninstalling it through brew and re-installing it via the pkginstaller shipped on our release page: https://github.com/containers/podman/releases/tag/v4.9.3 |
Thanks for the reply. Do you know if 4.9.X will be supported for a while within podman-desktop or this setup is actually sort of deprecated. Is there a possibility to fix that in podman, is efi really required? Would be nice if it could detect older macs and use a non efi version in the future. Thanks again. |
The only alternative to using EFI would be to extract the kernel/inintrd/kernel cmdline from the VM image, and provide these to |
Podman machine requires EFI which is only available in macOS 13 or later. containers/podman#22121 (comment) Signed-off-by: Rui Chen <rui@chenrui.dev>
A friendly reminder that this issue had no activity for 30 days. |
@ashley-cui how does one exactly get podman 4.9.x working again? as my podman machine auto-upgraded yesterday and switched to podman 5 whcih means I cannot do anything as I can't start a podman 5 machine and I cannot connect the 4.9 client to my qemu machine. This whole upgrade to podman 5 has not been handled well. |
@urkle Podman v4.9 was an experiment in podman machine, and since we were relatively inexperienced in that area, we needed to re-vamp our machine stack almost completely for 5.0. 5.0 to fixes a lot of these potholes, but the gap between 4.9 and 5.0 was big enough that implementing direct upgrades was not possible. Unfortunately, it may have caused a rough transition between 4.9 and 5.0, but, we hope that our fixes in Podman 5.0 and beyond makes our UX much better. Our blog goes into a bit more detail about this. If you can, we'd recommend you upgrade to Podman v5.0. However, in the case that you're unable to do so, using the following commands to init a new 4.9 machine should fix your issue. Let me know if this gets things working again! And of course, feel free to file any more issues you come across. x86:
arm:
|
@ashley-cui thanks for the detailed information. I had tried to do a full upgrade to 5.0 but ran into the issue described here and was unable to start the machine. after much fiddling I managed to get the 4.9.4 installed and used I had to
Is there not a possibility of adding back the QEMU backend as an alternative for older macOS? |
@urkle Hmm interesting, I believe we disabled zincati already with this commit, that's strange that it's still updating. I can take a look at that. We moved to appleHV as it resolved a lot of issues wrt dependencies, speed, and some other factors. We currently plan on only supporting appleHV for our future. |
@ashley-cui it could be my original podman machine was created before podman 4.8.0 and that is why it had updated itself? |
@urkle That would be it! |
ProblemI was doing Podman machine configuration setup for M1, and when I ran the
Addition information:
Things that i've tried:
NoteI'm not sure whether this is relevant or not, I've checked no @ashley-cui Could you please help me here? Thank you. |
JFYI : The above issue got resolved. Solution:
|
@hritik5102 I've had the same problem here and aftering to search I'm found this article:
Although the problem persisted, following the steps outlined in this article the dreaded vfkit exit 1 and removing the brew install to use the Installer Launcher resolved the issue for me. |
Thanks, @glaydston for sharing the article 🙌🏻 |
I had just gone through the whole "podman on macOS Monterey" thing myself and while I do understand that podman 4.x is "the old one" and issues are often closed as "it's now unsupported", I also see that 4.9.5 came out last week meaning it's not totally dead. AFAIK two/three simple changes would greatly improve the experience for anyone still stuck on older Apple OSes:
Meanwhile, instructions to manually solve the situation are already available but a little scattered here and there so I'll recap it for anyone that's stumbling on this problem (worked for me on macOS 12.x Monterey):
|
Issue Description
My podman updated to 5.0.0 from 4.9.3 via brew. With that update I can no longer create the podman machine.
the problem seems to be the following; crc-org/vfkit#37 related to efi.
Unfortunately the macbook pro is an older model that is now unsupported by apple, so I cannot have it upgraded to ventura or sonoma.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Error shown by podman;
Error: vfkit exited unexpectedly with exit code 1
Error while running vfkit manually:
Error: unsupported macOS version
Describe the results you expected
I would have expected the machine to start. Now my questions is more, is there a way to run the podman machine without efi? Not sure if there are scripts I can tweak or options to set about that so the machine can be created/started without efi, to have a working podman/podman-desktop env.
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Darwin Kernel Version 21.6.0: Mon Feb 19 20:24:34 PST 2024
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: