Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kata claims to support rootless, but I fail to achieve that in many machines. #9591

Open
zibinpan opened this issue May 3, 2024 · 0 comments
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.

Comments

@zibinpan
Copy link

zibinpan commented May 3, 2024

I followed the instruction to set the rootless for kata, and followed the doc to set the rootless for containerd. However, when I tried to run the following command to create a container in rootless:

ctr run --runtime "io.containerd.kata.v2" -t docker.io/library/ubuntu:20.04 ubuntu_20

It raised an error of:

ctr: failed to unmount /run/user/1001/containerd-mount2863814794: operation not permitted: failed to mount /run/user/1001/containerd-mount2863814794: operation not permitted

So, is there any successful and complete demo telling me how to run a rootless container by kata in detail?

My Host OS is Ubuntu 18.04, kernel 5.4.0.150-generic, (also tried and failed in Ubuntu 22.04 in kernel of 6.5.0-28-generic).

My kata-container version is 3.3.0, and containerd version is 1.7.14.

@zibinpan zibinpan added bug Incorrect behaviour needs-review Needs to be assessed by the team. labels May 3, 2024
@zvonkok zvonkok added duplicate Same issue as one already reported and removed duplicate Same issue as one already reported labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.
Projects
Issue backlog
  
To do
Development

No branches or pull requests

2 participants