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

rancher running nerdctl build with error ( buildctl needs to be installed and buildkitd needs to be running ) #5651

Open
vuongn-git opened this issue Jan 14, 2025 · 2 comments

Comments

@vuongn-git
Copy link

I ran "nerdctl build" and got error below. Any mates can help how to resolve it.

ERRO[0000] buildctl needs to be installed and buildkitd needs to be running, see https://github.com/moby/buildkit error="failed to ping to host unix:///run/buildkit-default/buildkitd.sock: exit status 1\nfailed to ping to host unix:///run/buildkit/buildkitd.sock: exit status 1"
FATA[0000] no buildkit host is available, tried 2 candidates: failed to ping to host unix:///run/buildkit-default/buildkitd.sock: exit status 1
failed to ping to host unix:///run/buildkit/buildkitd.sock: exit status 1
Error: exit status 1

Thank you

@slonopotamus
Copy link
Contributor

So, maybe you need to run buildkitd?

@AkihiroSuda
Copy link
Member

This should be asked in https://github.com/rancher-sandbox/rancher-desktop/discussions , assuming by "rancher" you mean Rancher Desktop.

@AkihiroSuda AkihiroSuda changed the title rancher running nerdctl build with error rancher running nerdctl build with error ( buildctl needs to be installed and buildkitd needs to be running ) Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants