-
Notifications
You must be signed in to change notification settings - Fork 261
Open
Description
Feature or enhancement request details
There doesn't appear to be a way to check what the default kernel binary is currently set to, even though there is a way to set it with container system kernel set. I would like container to have a corresponding container system kernel get subcommand.
I've already implemented this feature (including tests) in my fork of apple/container here: https://github.com/banksean/container/tree/kernelget
If this feature request is acceptable, I can submit that as a PR.
My use case:
- my app uses a custom kernel binary with
apple/container - on its first run, the app will download the custom kernel binary and call
container system kernel set ...so thatcontainerwill use it - on subsequent runs, the app has no way to check if the default kernel binary is already set to that custom binary, so the app blindly sets the default kernel again every time it runs (including a potentially lengthy download step)
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels