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

Properly detect whether podman or docker should be used. #8443

Open
wants to merge 2 commits into
base: bleeding-edge
Choose a base branch
from

Conversation

GloriousEggroll
Copy link
Contributor

@GloriousEggroll GloriousEggroll commented Feb 8, 2025

Fedora ships podman with a podman-docker package that uses a bash script for /usr/bin/docker which runs exec /usr/bin/podman @, This does not work correctly with the current check mechanism in proton's configure script, resulting in invalid permission settings:

!! File owner's UID doesn't map to 0 or 1000 in the container.
!! Don't know how to map permissions. Please check your docker setup.

By checking if the /usr/bin/docker file contains contains 'bin/podman' we can easily determine whether or not to actually use podman before any other checks are done.

Proton Merge Bot and others added 2 commits February 7, 2025 21:55
Fedora ships podman with a podman-docker package that uses a bash script for /usr/bin/docker which runs exec /usr/bin/podman @, This does not work correctly with the current check mechanism in proton's configure script, resulting in invalid permission settings. By checking if the /usr/bin/docker file contains contains 'bin/podman' we can easily determine whether or not to actually use podman before any other checks are done.

Signed-off-by: Tom Crider <[email protected]>
@Plagman Plagman force-pushed the bleeding-edge branch 28 times, most recently from e7f17a1 to d8c1713 Compare February 14, 2025 16:32
@Plagman Plagman force-pushed the bleeding-edge branch 30 times, most recently from b0f64f0 to 2487eb6 Compare March 2, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants