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

feat: add compatibility enable / disable button for Linux #1847

Closed
wants to merge 1 commit into from

Conversation

cdrage
Copy link
Contributor

@cdrage cdrage commented Mar 27, 2023

feat: add compatibility enable / disable button for Linux

What does this PR do?

  • Adds a compatibility button that will enable / disable the systemd
    podman.socket that allows Docker compatibility
  • Refactors the runSudoHelperCommand function so that both macOS and
    Linux implementations can use it

#1769 should be merged
before this goes in as there will be rebasing / conflicts

Screenshot/screencast of this PR

What issues does this PR fix or reference?

Closes the rest of #1447

How to test this PR?

  1. Use Linux
  2. yarn watch use yarn compile --linux=flatpak and install / run the flatpak., this is due to issue Compatibility mode does not work on yarn watch permission denied /var/run/docker.sock #1912
  3. Click on the compatibility mode and follow the steps to enable /
    disable.

Signed-off-by: Charlie Drage charlie@charliedrage.com

@cdrage cdrage requested review from a team and benoitf as code owners March 27, 2023 20:05
@cdrage cdrage requested review from jeffmaury and lstocchi and removed request for a team March 27, 2023 20:05
@cdrage cdrage force-pushed the linux-compat-button branch 2 times, most recently from 0619837 to dbfa15b Compare March 27, 2023 20:05
@cdrage cdrage marked this pull request as draft March 27, 2023 20:07
@cdrage cdrage force-pushed the linux-compat-button branch 17 times, most recently from 263cf7a to eb784b9 Compare March 31, 2023 21:42
### What does this PR do?

* Adds a compatibility button that will enable / disable the systemd
  podman.socket that allows Docker compatibility
* Refactors the runSudoHelperCommand function so that both macOS and
  Linux implementations can use it

containers#1769 should be merged
before this goes in as there will be rebasing / conflicts

### Screenshot/screencast of this PR

<!-- Please include a screenshot or a screencast explaining what is doing this PR -->

### What issues does this PR fix or reference?

<!-- Please include any related issue from Podman Desktop repository (or from another issue tracker).
-->

Closes the rest of containers#1447

### How to test this PR?

<!-- Please explain steps to reproduce -->

1. Use Linux
2. `yarn watch`
3. Click on the compatibility mode and follow the steps to enable /
   disable.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
@cdrage
Copy link
Contributor Author

cdrage commented Mar 31, 2023

Ready for review, but I'm honestly not sure if we can merge this in until #1912 is fixed

@cdrage cdrage marked this pull request as ready for review March 31, 2023 21:50
@cdrage cdrage marked this pull request as draft April 3, 2023 13:49
@cdrage cdrage closed this Apr 3, 2023
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.

None yet

1 participant