GeezerVison is showing github.com — vendor: github.com/containerd/console 8f6c4e4 by crazy-max · Pull Request #2238 · docker/buildx
Conversation
crazy-max
commented
Feb 2, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
As discussed internally with @milas @laurazard @thaJeztah, the containerd/console terminal check was causing errors to get logged on Windows if the output was redirected (piping to another command with more).
> docker buildx build . | more
failed to get console mode for stdout: The handle is invalid.
failed to get console mode for stdout: The handle is invalid.
[+] Building 0.7s (2/3) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 4.66kB 0.0s
=> resolve image config for docker.io/docker/dockerfile:1 0.7s
=> [auth] docker/dockerfile:pull token for registry-1.docker.io 0.0s
Bump github.com/containerd/console to containerd/console@8f6c4e4 to include containerd/console#66 that fixes this issue.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
We could test this with client-side integration tests on Windows related to #2206 (comment)
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as outdated.
|
@crazy-max would github.com/moby/term still be an alternative for this, or is that complicated?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Ah, gotcha, thx.
We really need to look at some of these. I have a feeling we have multiple packages / implementations do very similar things
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
crazy-max
changed the title
fix 'failed to get console mode' errors on Windows
vendor: github.com/containerd/console 8f6c4e4
Feb 5, 2024
Comment thread
go.mod
Resolved
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
left a suggestion (adding a comment to provide context)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
crazy-max reacted with thumbs up emoji
Reviewers
tonistiigi
Awaiting requested review from tonistiigi
milas
Awaiting requested review from milas
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|