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

WITH DOCKER --cache-id needs locking on the buildkit-side #4091

Open
alexcb opened this issue May 6, 2024 · 0 comments
Open

WITH DOCKER --cache-id needs locking on the buildkit-side #4091

alexcb opened this issue May 6, 2024 · 0 comments
Labels
type:bug Something isn't working

Comments

@alexcb
Copy link
Collaborator

alexcb commented May 6, 2024

What went wrong?

#3399 was completed without thinking of the case where two earthly processes (possibly on different hosts)

What should have happened?

we need to acquire a lock on the buildkit host; This can possibly be done with a file lock (flock) in https://github.com/earthly/earthly/blob/main/buildkitd/dockerd-wrapper.sh

What earthly version?

all of them

Buildkit Logs

No response

Other Helpful Information

No response

@alexcb alexcb added the type:bug Something isn't working label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant