Open
Description
I have been working with the NVIDIA container toolkit which generates a CDI yaml file, including hooks. The hooks all call nvidia-ctk
to do 3 things:
- create symlinks (relative to the root of a container)
- chmod (container root prepended to target paths)
- update ldcache (run ldconfig within the chroot of the container)
These are pretty basic standard activities. It seems like it would make sense to have containerEdits
within the spec capable of handling these. The spec includes container edit things like mounts
, env
, deviceNodes
, additionalGIDs
, and of course hooks
. I think that creating symlinks, changing permissions on dir/file, and maybe updating ldcache (I am mixed on that one) are the kinds of capabilities that would fit as first-class citizens within containerEdits
.
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels