containerd / containerd/nerdctl

kata 3.0 is now supported rootless. But when I use nerdctl + kata in rootless, it raised error: failed to create shim task: could not create VMM user: exit status 1: unknown

Open
#2,918 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
10.4k
Forks
826
Avg merge
1d 23h
Merged PRs (30d)
44

Description

kata 3.0 is now supported rootless. I followed the [instruction ](https://github.com/kata-containers/kata-containers/blob/main/docs/how-to/how-to-run-rootless-vmm.md)to set the rootless for kata, and followed the [doc](https://github.com/containerd/nerdctl/blob/main/docs/rootless.md) to set the rootless for nerdctl. However, when I tried to run the following command to create a container in rootless:

`nerdctl run -it --runtime io.containerd.kata.v2 ubuntu:20.04 sh`

It raised error as:

**FATA[0000] failed to create shim task: could not create VMM user: exit status 1: unknown**

So how to fix this problem? Thank you.

@lisongmin @AkihiroSuda

_Originally posted by @zibinpan in https://github.com/containerd/nerdctl/issues/135#issuecomment-2041092098_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.