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

Small changes for BuildKit support #173

Merged
merged 4 commits into from
Jan 3, 2025

Conversation

schummar
Copy link
Contributor

I would like to tackle BuildKit support in dockerode. That required some small changes in docker-modem, because the connection needs to be hijacked to create a session.

The first change (preverse Upgrade header) should be safe.

I am uncertain about the second change (ending the request in hijack mode). The tests still pass, but could this have other unintended side effects? To open a session over the docker api, this is needed - otherwise the upgrade event is never emittet. But we could allow this to be configured some other way as well.

end request in hijack mode
@schummar
Copy link
Contributor Author

See apocas/dockerode#766

@apocas apocas merged commit d235469 into apocas:master Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants