podman-desktop: Location of the default lima socket is wrong and provider status "unknown"

Bug description

It is looking for ~/.lima/podman-lima/sock/podman.sock, but the default location is ~/.lima/podman/sock/podman.sock

It would be nice if the LIMA_HOME environment variable was respected, as it can override the default HOME location.

Operating system

Ubuntu 20.04

Version

1.0.0

Steps to reproduce

No response

Relevant log output

No response

Additional context

It should also look for the presence of the limactl program, and use that to determine the version to show in the GUI.

$ limactl --version
limactl version 0.15.1

When the podman socket is missing, then the instance (virtual machine) is stopped. If it is present, it has been started:

$ limactl list podman
NAME      STATUS     SSH                VMTYPE    ARCH      CPUS    MEMORY    DISK      DIR
podman    Running    127.0.0.1:40361    qemu      x86_64    4       4GiB      100GiB    ~/.lima/podman

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (13 by maintainers)

Most upvoted comments

Thanks for the report @afbjorklund and the description of the workaround - as you mentioned in https://github.com/containers/podman-desktop/issues/1081#issuecomment-1553288906 seems to be a regression.

Would you be interested to contribute? We would actually really like to work with you on improving the support of Lima.