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

Podman 5.0.2 on aarch64-darwin fails on podman machine start #305868

Closed
msgilligan opened this issue Apr 22, 2024 · 2 comments
Closed

Podman 5.0.2 on aarch64-darwin fails on podman machine start #305868

msgilligan opened this issue Apr 22, 2024 · 2 comments
Labels
0.kind: bug Something is broken 6.topic: darwin Running or building packages on Darwin

Comments

@msgilligan
Copy link
Contributor

msgilligan commented Apr 22, 2024

Describe the bug

podman machine start fails on macOS (aarch64-darwin) when using the current unstable Nix pkgs podman (5.0.2)

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix profile install podman
  2. podman machine init
  3. podman machine start

Result of podman machine start is:

ERRO[0000] process 22471 has not ended                  
Error: exec: "vfkit": executable file not found in $PATH

Expected behavior

Starting machine "podman-machine-default"
API forwarding listening on: /var/folders/6d/12xt4b4m8xjf3t0059_w18bh0000gn/T/podman/podman-machine-default-api.sock
You can still connect Docker API clients by setting DOCKER_HOST using the
following command in your terminal session:

        export DOCKER_HOST='unix:///var/folders/6d/12xt4b4m8xjf3t0059_w18bh0000gn/T/podman/podman-machine-default-api.sock'

Machine "podman-machine-default" started successfully

Additional context

https://github.com/crc-org/vfkit seems to be missing.

If you install vfkit with Homebrew as follows:

brew tap cfergeau/crc
brew install vfkit

and then run podman machine start using Nixpgks Podman 5.0.2, the VM starts as expected.

A possible solution would be to:

  1. Create a Nix package for vfkit
  2. Configure the podman package so that it automatically installs vfkit on macOS

Notify maintainers

@zowoq @marsam

Metadata

 - system: `"aarch64-darwin"`
 - host os: `Darwin 22.6.0, macOS 13.6.6`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

@msgilligan
Copy link
Contributor Author

I opened a separate Packaging Request for vfkit: #306179

micnncim added a commit to micnncim/nur that referenced this issue Sep 5, 2024
See NixOS/nixpkgs#305868 and
NixOS/nixpkgs#334907 for more information.

Signed-off-by: micnncim <[email protected]>
micnncim added a commit to micnncim/nur that referenced this issue Sep 5, 2024
See NixOS/nixpkgs#305868 and
NixOS/nixpkgs#334907 for more information.

Signed-off-by: micnncim <[email protected]>
micnncim added a commit to micnncim/nur that referenced this issue Sep 5, 2024
See NixOS/nixpkgs#305868 and
NixOS/nixpkgs#334907 for more information.

Signed-off-by: micnncim <[email protected]>
@sarcasticadmin
Copy link
Member

Fixed as of #334907

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

3 participants