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
podman machine (v5.0.0-rc3) fails to start on MacOS #21842
Comments
Where did you get the |
The 2 binaries from https://github.com/crc-org/vfkit/releases/tag/v0.5.1 don't have this problem. If I remember correctly, the release page briefly had a |
It came with the podman pkg: https://github.com/containers/podman/releases/download/v5.0.0-rc3/podman-installer-macos-arm64.pkg |
vfkit needs the com.apple.security.virtualization entitlement or it wont' be able to start virtual machines: Error: Error Domain=VZErrorDomain Code=2 Description="Invalid virtual machine configuration. The process doesn’t have the “com.apple.security.virtualization” entitlement." UserInfo={ NSLocalizedFailure = "Invalid virtual machine configuration."; NSLocalizedFailureReason = "The process doesn\U2019t have the \U201ccom.apple.security.virtualization\U201d entitlement."; } This fixes containers#21842 Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
I think something like #21843 is needed - I'm not sure how to test it, so that's likely slightly wrong. @ashley-cui fwiw |
vfkit needs the com.apple.security.virtualization entitlement or it wont' be able to start virtual machines: Error: Error Domain=VZErrorDomain Code=2 Description="Invalid virtual machine configuration. The process doesn’t have the “com.apple.security.virtualization” entitlement." UserInfo={ NSLocalizedFailure = "Invalid virtual machine configuration."; NSLocalizedFailureReason = "The process doesn\U2019t have the \U201ccom.apple.security.virtualization\U201d entitlement."; } This fixes containers#21842 Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
vfkit needs the com.apple.security.virtualization entitlement or it wont' be able to start virtual machines: Error: Error Domain=VZErrorDomain Code=2 Description="Invalid virtual machine configuration. The process doesn’t have the “com.apple.security.virtualization” entitlement." UserInfo={ NSLocalizedFailure = "Invalid virtual machine configuration."; NSLocalizedFailureReason = "The process doesn\U2019t have the \U201ccom.apple.security.virtualization\U201d entitlement."; } This fixes containers#21842 Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Im encountering this issue using the latest version downloaded for the first time yesterday, never used podman or any containers before so maybe i did it wrong. Installed the tools, followed the instructions and got to
sw_vers:
and
|
@Austin-Shep any luck? I'm having the same issue |
Can you try |
Better to open a new issue by the way, as this one is fixed. |
I have the same issue with Podman it works like an an hour and the give me this error, I am running the podman version 5.0.2, hope this will be fixed soon, hope you are doing well |
Please open a new issue for this. |
Just keep in mind that, from my experience, it seems to be related to macOS Monterey, or older |
Ah yes, podman requires macOS 13+ as there is no UEFI support in macOS virtualization framework before this. We should add a version check to the installer if it's not there yet. |
I am using MacOS Sonoma 14.4.1 (23E224) |
This are my logs Starting machine "podman-machine-default"
Error: vfkit exited unexpectedly with exit code 1
Starting machine "podman-machine-default"25
Error: vfkit exited unexpectedly with exit code 1
Command execution failed with exit code 125 |
Issue Description
podman v5.0.0-rc3, fail to start the default machine:
On an M2 machine with Sonoma 14.3.1
(Sorry if this is expected due a to a missing step, I'm not familiar with MacOS)
Steps to reproduce the issue
Steps to reproduce the issue
podman machine init
podman machine start
Describe the results you received
Just running
podman machine start
I got:but, running
vfkit
directly with debug enabled:I got:
( I think it could be useful to also pass
--log-level debug
tovfkit
if podman ran with the same level)Describe the results you expected
default podman machine to start
podman info output
podman machine info output:
This is an M2 machine with Sonoma 14.3.1
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: