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

Look for containers conf files in the same folders as podman does #7027

Open
l0rd opened this issue Apr 30, 2024 · 0 comments
Open

Look for containers conf files in the same folders as podman does #7027

l0rd opened this issue Apr 30, 2024 · 0 comments

Comments

@l0rd
Copy link

l0rd commented Apr 30, 2024

Is your enhancement related to a problem? Please describe

Podman Desktop looks for the containers conf file to find the current machine provider. It uses that to decide which set of machine config features to expose to the user.

The problem is that containers conf can be in folders that are currently ignored by Podman Desktop.

Describe the solution you'd like

Podman Desktop should look for containers conf file in different folders following the same logic as podman.

Additional context

As an example after this windows installer update, podman installation will create a configuration in %APPDATA%/containers/containers.conf.d/99-podman-machine-provider.conf (and later in %PROGRAMDATA%/containers/containers.conf.d/99-podman-machine-provider.conf, see issue). If Podman Desktop ignores the file it will assume that the provider is wsl although podman machine is configured to use hyperv.

@l0rd l0rd added the kind/enhancement ✨ Issue for requesting an improvement label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants