-
Notifications
You must be signed in to change notification settings - Fork 1.4k
could not connect to unix:///run/user/1000/buildkit/buildkitd.sock #6622
Copy link
Copy link
Open
Labels
Description
Contributing guidelines and issue reporting guide
- I've read the contributing guidelines and wholeheartedly agree. I've also read the issue reporting guide.
Well-formed report checklist
- I have found a bug that the documentation does not mention anything about my problem
- I have found a bug that there are no open or closed issues that are related to my problem
- I have provided version/information about my environment and done my best to provide a reproducer
Description of bug
Bug description
Error when running the exactle version after v0.28.0 the pipe drops with the error.
could not connect to unix:///run/user/1000/buildkit/buildkitd.sock
It works fine on the version v0.28.0.
Reproduction
Run gitlab:
build_image:
stage: build
image: moby/buildkit:v0.28.0-rootless
tags: [kubernetes, yandex-cloud]
variables:
BUILDKITD_FLAGS: --oci-worker-no-process-sandbox
CACHE_IMAGE: $CI_REGISTRY_IMAGE:cache
before_script:
- mkdir -p ~/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > ~/.docker/config.json
script:
- >
buildctl-daemonless.sh build
--frontend dockerfile.v0
--local context=.
--local dockerfile=.
--opt platform=linux/amd64
--export-cache type=registry,ref=$CACHE_IMAGE
--import-cache type=registry,ref=$CACHE_IMAGE
--output type=image,name=$CI_REGISTRY_IMAGE:$CI_COMMIT_SHA,push=true
Version information
v0.28.1
Terminal_output
$ buildctl-daemonless.sh build --frontend dockerfile.v0 --local context=. --local dockerfile=. --opt platform=linux/amd64 --export-cache type=registry,ref=$CACHE_IMAGE --import-cache type=registry,ref=$CACHE_IMAGE --output type=image,name=$CI_REGISTRY_IMAGE:$CI_COMMIT_SHA,push=true
could not connect to unix:///run/user/1000/buildkit/buildkitd.sock after 10 trialsReactions are currently unavailable