Skip to content
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

krunkit missing on podman-desktop 1.16.0 #25158

Closed
gclawes opened this issue Jan 29, 2025 · 2 comments
Closed

krunkit missing on podman-desktop 1.16.0 #25158

gclawes opened this issue Jan 29, 2025 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. machine macos MacOS (OSX) related

Comments

@gclawes
Copy link

gclawes commented Jan 29, 2025

Issue Description

Podman Desktop 1.16.0 (just installed, unsure if applies to previous versions) is unable to launch GPU-enabled podman machine, and returns an error in the UI (see below) related to krunkit being missing when one is created.

Steps to reproduce the issue

Steps to reproduce the issue

  1. Install Podman Desktop via brew install podman-desktop
  2. Skip podman setup during onboarding
  3. Go to Settings -> Resources -> Podman and create new podman machine with libkrun GPU enabled

Describe the results you received

Received the following error in the UI:

Error: Command execution failed with exit code 125 Command execution failed with exit code 125 Getting image source signatures Copying blob sha256:cc337dac08f317e9141e55f324d3af74f5d72f39c797f8d1f396948854fa655d Copying config sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a Writing manifest to image destination time="2025-01-29T12:56:40-05:00" level=error msg="process 85735 has not ended" Error: exec: "krunkit": executable file not found in $PATH
Image

Describe the results you expected

Machine created without error

podman info output

$ podman info
OS: darwin/arm64
provider: applehv
version: 5.3.2

Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: failed to connect: dial tcp 127.0.0.1:52115: connect: connection refused

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

@gclawes gclawes added the kind/bug Categorizes issue or PR as related to a bug. label Jan 29, 2025
@Luap99
Copy link
Member

Luap99 commented Jan 29, 2025

If you install it from brew than it is brew job to deliver the dependencies. You must have krunkit installed in order to use a libkrun based VM.

Podman comes with its own macos installers and they have krunkit bundled https://github.com/containers/podman/releases/tag/v5.3.2
We generally recommend that over brew.

@Luap99 Luap99 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2025
@Luap99 Luap99 added macos MacOS (OSX) related machine labels Jan 29, 2025
@gclawes
Copy link
Author

gclawes commented Jan 29, 2025

Ahh, so the krunkit install is part of the podman installer package, not part of the desktop install? Gotcha, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. machine macos MacOS (OSX) related
Projects
None yet
Development

No branches or pull requests

2 participants