Convert containerd to runtime package

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar
2024-09-27 10:59:01 +02:00
committed by Tariq Ibrahim
parent 5bedbc2b50
commit 103375e504
9 changed files with 292 additions and 308 deletions

View File

@@ -34,6 +34,12 @@ const (
DefaultRestartMode = "signal"
)
type Options struct{}
func Flags(opts *Options) []cli.Flag {
return nil
}
// Setup updates docker configuration to include the nvidia runtime and reloads it
func Setup(c *cli.Context, o *container.Options) error {
log.Infof("Starting 'setup' for %v", c.App.Name)