-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[BUG] For up
command, "pulling" and "Pulled" events should respect quietPull
flag
#10686
Comments
up
command, "pulling" and "Pulled" should respect quietPull
flagup
command, "pulling" and "Pulled" events should respect quietPull
flag
|
@ndeloof I am gonna assume most people use quiet pull because they are using docker compose with some kinda SaaS CI and the interactive logs keep getting duplicated every seconds(10th of a second?), For example, https://github.com/docker/compose/actions/runs/5220651859/jobs/9423987875 is not the exact commands, but the symptom is the same. Only removing part of the messages but keeping others wont resolve the above pain point. I would really hope you can re-consider it |
The only remaining parts are
I'm closing this as "not planned" |
This happens because you use ANSI-based progress without an actual terminal. A new ANSI sequence will be emitted every 100ms, and obviously a pull operation can take much more. Are you forcing |
We are not because the ci tool we are using handles ansi on the web UI. The issue is the size of exported logs from the said ui tool( which is just a plain text file) |
I proposed we introduce a flag to offer better control on the progress UI, so you can switch to plain text mode and avoid huge logs, but still can benefits from ANSI-colored output for container logs. |
Description
The function
pullServiceImage
in https://github.com/docker/compose/blob/v2/pkg/compose/pull.go hasquietPull bool
as an argument.However, the "pulling" and "Pulled" event logger are not wrapped under the argument.
It should follow the same logic as
Steps To Reproduce
N/A
Compose Version
Docker Environment
Anything else?
The text was updated successfully, but these errors were encountered: