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

Add Linux support #93

Closed
cdrage opened this issue Jan 26, 2024 · 7 comments · Fixed by #186
Closed

Add Linux support #93

cdrage opened this issue Jan 26, 2024 · 7 comments · Fixed by #186
Assignees
Labels
1.0.0 Must haves for 1.0.0 release
Milestone

Comments

@cdrage
Copy link
Collaborator

cdrage commented Jan 26, 2024

Is your enhancement related to a problem? Please describe

It should work on linux

Describe the solution you'd like

working on linux

Describe alternatives you've considered

No response

Additional context

No response

@cdrage
Copy link
Collaborator Author

cdrage commented Jan 29, 2024

At the moment we are blocked on two issues:

containers/podman-desktop#2861 which involves not being able to run rootful containers on linux systems.

and

osbuild/bootc-image-builder#98 which doesn't allow building containers on a rootless container.

We'd have to fix one of the issues to get this functionality to work on linux.

You can perform the build no problem via CLI with sudo, but we are unable to perform the build through podman desktop at the moment.

@cdrage cdrage changed the title Test this works on linux Add Linux support Jan 30, 2024
@cdrage cdrage added the 1.0.0 Must haves for 1.0.0 release label Jan 30, 2024
@cdrage
Copy link
Collaborator Author

cdrage commented Mar 5, 2024

We can now create root podman machines on Linux on Podman Desktop: containers/podman-desktop#5823

So we can use bootc-image-builder on Linux now.

We however, must have documentation / ample notifications indicating that you need a rootful machine on Linux to do this.

@cgwalters
Copy link
Contributor

I think documenting the requirement for a rootful machine is OK at this time.

@vrothberg
Copy link
Member

Documenting the requirements sounds good to me. The extension could also throw a warning if the machine runs rootless.

cdrage added a commit to cdrage/podman-desktop-extension-bootc that referenced this issue Mar 12, 2024
### What does this PR do?

In order to use this extension, we require 5.0.0 as below that version
is very unstable.

Linux is also now supported with being able to create a rootful Podman Machine
on Podman Desktop.

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

N/A

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

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

Closes containers#93
Closes containers#140
Closes containers#185

### How to test this PR?

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

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
cdrage added a commit to cdrage/podman-desktop-extension-bootc that referenced this issue Mar 12, 2024
### What does this PR do?

In order to use this extension, we require 5.0.0 as below that version
is very unstable.

Linux is also now supported with being able to create a rootful Podman Machine
on Podman Desktop.

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

N/A

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

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

Closes containers#93
Closes containers#140
Closes containers#185

### How to test this PR?

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

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
cdrage added a commit that referenced this issue Mar 13, 2024
### What does this PR do?

In order to use this extension, we require 5.0.0 as below that version
is very unstable.

Linux is also now supported with being able to create a rootful Podman Machine
on Podman Desktop.

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

N/A

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

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

Closes #93
Closes #140
Closes #185

### How to test this PR?

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

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
@vrothberg
Copy link
Member

@cdrage I don't see that the requirement on running as root inside the machine has been addressed with #186. Am I missing something?

@cdrage
Copy link
Collaborator Author

cdrage commented Mar 13, 2024

@cdrage I don't see that the requirement on running as root inside the machine has been addressed with #186. Am I missing something?

It's been added to the readme: https://github.com/containers/podman-desktop-extension-bootc?tab=readme-ov-file#requirement-2-rootful-mode-on-podman-machine

It was always there, but now we just added the "works on Linux" part / you must create a Linux machine.

cdrage added a commit to cdrage/podman-desktop-extension-bootc that referenced this issue Mar 13, 2024
### What does this PR do?

Adds some more details regarding rootful mode on Linux with podman
machine. Since you cannot create the machine through the podman desktop
GUI, you must create it via the command line.

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

N/A

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

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

References containers#93

### How to test this PR?

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

N/A

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

cdrage commented Mar 13, 2024

Created #187 to add more detail regarding Linux support, as you are right however, there is limited information in the docs / requirements that were missing.

cdrage added a commit to cdrage/podman-desktop-extension-bootc that referenced this issue Mar 13, 2024
### What does this PR do?

Adds some more details regarding rootful mode on Linux with podman
machine. Since you cannot create the machine through the podman desktop
GUI, you must create it via the command line.

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

N/A

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

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

References containers#93

### How to test this PR?

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

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
cdrage added a commit that referenced this issue Mar 14, 2024
### What does this PR do?

Adds some more details regarding rootful mode on Linux with podman
machine. Since you cannot create the machine through the podman desktop
GUI, you must create it via the command line.

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

N/A

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

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

References #93

### How to test this PR?

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

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
@deboer-tim deboer-tim added this to the 1.0 milestone Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.0.0 Must haves for 1.0.0 release
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants