How can I integrate a rootless containers api for an embedded containerd client app? #1165
Unanswered
pcbuildpluscoding
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've made a containerd client app and wanted to integrate rootless for the containers and tasks that I create. For development testing, I installed rootless by running containerd-rootless-setuptool.sh on my ubuntu pc and nerdctl works well.
I tried to convert the nerctl/pkg/rootlessutil/appNeedsRootlessParentMain function for my api service program. It works as far as generating a network namespace that my client and service run inside. I can create a container, but my program hangs when I create a task. Is there a better way to integrate a rootless environment? Is there a rootless api package for embedding a rootless environment?
Beta Was this translation helpful? Give feedback.
All reactions