Skip to content

lib: add support for podman container runtime #33

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

Merged
merged 1 commit into from
Aug 11, 2022
Merged

lib: add support for podman container runtime #33

merged 1 commit into from
Aug 11, 2022

Conversation

exdx
Copy link
Owner

@exdx exdx commented Aug 2, 2022

Adds support for podman. Initially I tried to write a completely generic solution, but quickly ran into issues because the methods provided on the container type are functions instead of traits. Going that route would require writing a trait for every function call required by the container type. It seemed like a lot of work. Instead, I took a simpler route and encapsulated both runtimes as part of a custom type.

Closes #26

TODO:

  • Update documentation to reflect podman as a viable option
  • Add e2e tests running on an OS where podman is the only runtime available (fedora?)

@exdx exdx mentioned this pull request Aug 2, 2022
@exdx
Copy link
Owner Author

exdx commented Aug 2, 2022

Still some issues to iron out regarding the borrow checker

@exdx exdx force-pushed the podman-support branch 5 times, most recently from 4e3649b to 91a5811 Compare August 3, 2022 13:25
@exdx exdx force-pushed the podman-support branch 7 times, most recently from 7486ea4 to bbec9c5 Compare August 11, 2022 02:36
@exdx exdx merged commit 05ad5bf into main Aug 11, 2022
@tylerslaton tylerslaton deleted the podman-support branch September 8, 2022 17:10
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.

add support for podman
1 participant