mirror of
https://github.com/docker/compose.git
synced 2026-11-18 06:07:53 +00:00
The bake progress display goes through containerd/console, which on Windows only accepts the exact os.Stdin/Stdout/Stderr values (pointer identity in newMaster) and rejects everything else with "creating a console from a file is not supported on windows". The _console wrapper introduced to satisfy buildkit's console.File type-assert therefore could never pass that check: TTY progress silently fell back to plain in auto mode, and --progress=tty / --ansi always failed hard with "failed to get console". When the CLI stream was constructed from a real file — the interactive case, where it wraps os.Stdout — hand that genuine *os.File to NewDisplay so the identity check passes. File-less streams keep the wrapper, which works on Unix where only the descriptor matters. Fixes #14086 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| api | ||
| bridge | ||
| compose | ||
| dryrun | ||
| e2e | ||
| mocks | ||
| remote | ||
| utils | ||
| watch | ||