Skip to content

ctr: add privileged-without-host-devices for run command#7328

Merged
dmcgowan merged 1 commit intocontainerd:mainfrom
liubin:add-privileged-without-host-devices
Sep 10, 2022
Merged

ctr: add privileged-without-host-devices for run command#7328
dmcgowan merged 1 commit intocontainerd:mainfrom
liubin:add-privileged-without-host-devices

Conversation

@liubin
Copy link
Copy Markdown
Contributor

@liubin liubin commented Aug 26, 2022

For Kata Containers, starting a privileged container will fail
if passing all host devices to container due to the permission
issue, like the privileged_without_host_devices for CRI service,
add a privileged-without-host-devices to ctr run command will
disable passing all host devices to containers.

Signed-off-by: bin liu [email protected]

For Kata Containers, starting a privileged container will fail
if passing all host devices to container due to the permission
issue, like the `privileged_without_host_devices` for CRI service,
add a `privileged-without-host-devices` to `ctr run` command will
disable passing all host devices to containers.

Signed-off-by: bin liu <[email protected]>
@k8s-ci-robot
Copy link
Copy Markdown

Hi @liubin. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@liubin
Copy link
Copy Markdown
Contributor Author

liubin commented Aug 26, 2022

@AkihiroSuda PTAL

@zhongwen666
Copy link
Copy Markdown

@liubin How can I resolve the above issue using the Docker CLI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants