feat: add sth close to the no-cgroups legacy feature in CDI mode [WIP/Draft]#1541
feat: add sth close to the no-cgroups legacy feature in CDI mode [WIP/Draft]#1541oOraph wants to merge 1 commit intoNVIDIA:mainfrom
Conversation
47cf5ac to
fea6024
Compare
1ab8c61 to
20e615c
Compare
83b7b39 to
862841b
Compare
…/Draft] Related: NVIDIA#1542 Use case: same as the no-cgroups flags in legacy mode (= with the hook + nvidia-container-cli) -> create dev nodes, setup environment, mount shared libraries but do not give access to devices yet Signed-off-by: Raphael Glon <oOraph@users.noreply.github.com>
862841b to
f3f0405
Compare
|
@oOraph thinking about this again. I don't know whether we want to expose this through the Something like: |
@elezar I guess so. Actually I'm not 100% fluent with the nvidia-container-runtime modes :) you will probably help me here: if I use the auto mode it won't use the cdi generated specs by the nvidia-ctk will it ? is this the difference between the cdi and cdi-jit modes ? Would I then need to use this command and switch explicitely the runtime to cdi mode for it to use the cdi specs generated outside of the runtime ? If so this would be enough for my case |
|
@oOraph sorry for the delay in looking into this. I think that the work in #630 would be useful here. I think it makes more sense to add this as an option to the Let me revisit this once we've merged that change. |
Related: #1542
Use case: same as the no-cgroups flags in legacy mode (= with the hook) -> create dev nodes, setup environment, mount shared libraries but do not give access to devices yet