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

[FEATURE]: Consider making container::checkpoint behind a feature gate #2942

Open
Mossaka opened this issue Oct 3, 2024 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@Mossaka
Copy link
Contributor

Mossaka commented Oct 3, 2024

Background

As far as I understand, the checkpoint() function depends on rust-criu, which in turn, depends on protobuf. Runwasi does not need the restore/checkpoint feature, and thus there is no need to depend on protobuf.

Feature Request

I am requesting libcontainer to add a new feature called "checkpoint" and put the checkpoint function behind this feature gate. Additionally make rust-criu dependency optional.

Is the request related to some problem running youki?

No response

Proposed Solution

No response

Considerations

No response

Additional Context

No response

@Mossaka Mossaka added the enhancement New feature or request label Oct 3, 2024
@utam0k
Copy link
Member

utam0k commented Oct 13, 2024

What about feature gates that add functionality that is not defined in OCI Runtime?

@Mossaka
Copy link
Contributor Author

Mossaka commented Oct 21, 2024

Yeah the motivation behind this request is to remove the dependency on protobuf as Runwasi does not need checkpoint. I am not sure if I understand your comment on adding feature gates on added funcitonalities.

@utam0k
Copy link
Member

utam0k commented Oct 22, 2024

I think you can probably do it, you can't add a feature just for the checkpoint, but by all means we can do that.

This means that you can use only the CLI Specification here, and the rest should be a feature like advanced. Is it enough?
https://github.com/containers/youki/tree/main/crates/liboci-cli

@Mossaka
Copy link
Contributor Author

Mossaka commented Oct 22, 2024

yeah it looks like the features in "CLI Specification" are all we need in Runwasi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants