Replies: 1 comment 1 reply
-
|
Is the kernel config in https://github.com/apple/containerization/blob/main/kernel/config-arm64 the minimal set of configs necessary to run containers? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a several loose ends around kernel UX and multiple open and closed issues:
UX-related:
Related to distributing a custom kernel (which is not practical for us today):
I'm starting up this discussion so we can put together a better design and UX for our kernel related features. Right now kernels are a second class citizen and the way they work in system properties (macOS UserDefaults which will likely go away),
container system start, and the--kerneloption ofcreateandrunis a bit disjointed.Here are some possible user stories. Let me know what you think about these and any other points of design.
containeruser, I can runcontainer system startfor a new install or upgrade, and if the current default kernel is not present on my system, the tool shall download the kernel, and update thedefaultcontainer resource, so that my containers use the kernel that was tested with the application release.containeruser, I can run a kernel create subcommand that accepts a remote archive URL or local archive pathname, and a member pathname for the kernel file, downloads the archive if necessary, extracts the kernel file and creates a managed kernel resource with a specified ID, so that I can easily use the kernel with containers I run.containeruser, I can run a kernel create subcommand that accepts a remote kernel file URL or local kernel file pathname, downloads the kernel file if necessary, and creates a managed kernel resource with a specified ID, so that I can easily use the kernel with containers I run.containeruser, I can run a kernel delete subcommand that deletes kernel resources for the specified IDs, so that I can recover disk capacity.containeruser, I can run a kernel list subcommand that displays kernel resources, so that I can see what kernels are available on my system.container user, I can run a kernel inspect subcommand that displays the attributes of the specified kernel as JSON, so that I can see all details of a kernel and use tools that interact with container resources.--kerneloption of the container create/run subcommands with a kernel ID, so that I can launch containers using convenient kernel names.--kerneloption with an absolute or relative pathname to a container file, so that I can quickly try out a kernel without installing it as a resource.Beta Was this translation helpful? Give feedback.
All reactions