Skip to content

Conversation

tonistiigi
Copy link
Member

When buildkit container dies with sigkill while the progress is streaming, it could have left the progress hanging.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
opts = append(opts, client.WithContextDialer(func(context.Context, string) (net.Conn, error) {
if atomic.AddInt64(&counter, 1) > 1 {
return nil, net.ErrClosed
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just for cleaner error handling. It would work without it as well.

@tonistiigi tonistiigi added this to the v0.11.0 milestone May 4, 2023
@tonistiigi tonistiigi merged commit 4fa7cd1 into docker:master May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants