Skip to content

Allow to pass --no-cgroups option to nvidia-container-cli#5604

Merged
estesp merged 1 commit intocontainerd:masterfrom
ktock:nvidiacgroups
Jun 14, 2021
Merged

Allow to pass --no-cgroups option to nvidia-container-cli#5604
estesp merged 1 commit intocontainerd:masterfrom
ktock:nvidiacgroups

Conversation

@ktock
Copy link
Copy Markdown
Member

@ktock ktock commented Jun 14, 2021

Fixes #5603

Through discussion in moby/moby#38729 (comment) and containerd/nerdctl#251 (review), it turns out we need to pass --no-cgroups option to nvidia-container-cli for using it in rootless environmetns.

This commit allows nvidia pkg to do this.

@ktock ktock changed the title Allow to pass --no-cgroup option to nvidia-container-cli Allow to pass --no-cgroups option to nvidia-container-cli Jun 14, 2021
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jun 14, 2021

Build succeeded.

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp estesp merged commit 0a3a77b into containerd:master Jun 14, 2021
@ktock ktock deleted the nvidiacgroups branch June 15, 2021 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

contrib/nvidia: support passing "--no-cgroups" to nvidia-container-cli

3 participants