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

running buildkitd inside a container: cgroup issue #3668

Open
apostasie opened this issue Nov 12, 2024 · 0 comments
Open

running buildkitd inside a container: cgroup issue #3668

apostasie opened this issue Nov 12, 2024 · 0 comments
Labels
kind/unconfirmed-bug-claim Unconfirmed bug claim status/needs-more-information Needs more information from OP

Comments

@apostasie
Copy link
Contributor

apostasie commented Nov 12, 2024

Description

I have a rather complex build system, and for now cannot reduce it to a simple reproducer.

Pretty much, buildkitd is started inside a container, with --privileged, and then buildctl is used directly to communicate with it.

When the buildkitd container is started with docker, things work fine.

When the buildkitd container is started with nerdctl (rootless), any RUN instruction fails immediately with:
runc run failed: no cgroup mount found in mountinfo

I am not a cgroup specialist... @AkihiroSuda does the above ^ ring a bell for you by any chance? Any specific place I should look into?

If not, I will come up with a reproducer eventually, but need time to simplify it.

Steps to reproduce the issue

No response

Describe the results you received and expected

na

What version of nerdctl are you using?

2.0.0

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

@apostasie apostasie added the kind/unconfirmed-bug-claim Unconfirmed bug claim label Nov 12, 2024
@AkihiroSuda AkihiroSuda added the status/needs-more-information Needs more information from OP label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/unconfirmed-bug-claim Unconfirmed bug claim status/needs-more-information Needs more information from OP
Projects
None yet
Development

No branches or pull requests

2 participants