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

Use podman #16

Closed
wants to merge 23 commits into from
Closed

Use podman #16

wants to merge 23 commits into from

Conversation

jack-avery
Copy link
Owner

Closes #1.

This is a pretty big change, but the benefits on the security side are noticeable. The docker role is synonymous with wheel on a lot of servers, so consolidating this to be guaranteed userland-only removes the need for giving the user additional access at all.

@jack-avery
Copy link
Owner Author

This is currently waiting on #12 which the original owner of the SourceBans container should be reviewing my PR later this week

@jack-avery
Copy link
Owner Author

A downside is cpuset may be missing, which was used to ensure each server only dug into a single CPU (since the server is single-threaded). A solution is available after some digging but apparently might still be missing some functionality: link

Comment on lines +21 to +22
- -cpus
- "1"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this use cpuset

@jack-avery
Copy link
Owner Author

Currently containers do not start unless the service is manually started, but I think this is a bug and I've reported it at containers/podman#24468

@jack-avery
Copy link
Owner Author

Still blocked, seems like the Quadlet issue exists even on modern builds of Podman. I'll come back to this some other time, I've already spent a few hours trying to find a workaround without basically rewriting everything.

@jack-avery
Copy link
Owner Author

blocked by several issues that aren't really solveable without root user intervention and compiling binaries outside of a distribution's package manager (except for maybe Fedora). closing

@jack-avery jack-avery closed this Nov 8, 2024
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.

use podman instead of docker
1 participant