-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed as not planned
Labels
Description
What is the problem you're trying to solve
Nydus is a open source project which provide a new image format and bring lazyload ability to containers. It mainly consist of nydus-snapshotter(remote snapshotter), nydusd(fuse/virtiofs daemon), nydusify(for build image) and so on. Runc and Kata Container both have supported Nydus;
When integrating Kata Container with Nydus, it need to delivery some config information from nydus-snapshotter to kata-shim, but the Mount struct has no suitable field to carry information.
Describe the solution you'd like
I think there are two ways to support this case:
Mountstruct adds a new field likeExtraOptions []string, in this way,Containerddoes not need to modify;- Append config information(format: extraopton=xxxx) to
MountstructOptionsfield, in this way,Containerdneed filterextraoption=xxxoption in Mount method.
I would prefer first method, as it is more clear.
Additional context
No response
bergwolfbergwolf