-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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] writer associated with ctx via progress.WithContextWriter(ctx, writer)
from external is not respeced
#10091
Comments
I'm sorry, I don't understand what you expect here. |
@ndeloof thanks for looking into this. I am writing a tool, which you can think of a frontend wrapper of docker compose. Part of the feature is to show the progress of image pulling when calling Pull, Create or Up methods of compose service. I was expecting providing my own |
@ndeloof - please see my PR. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as not stale anymore due to the recent activity. |
1 similar comment
This issue has been automatically marked as not stale anymore due to the recent activity. |
Description
Trying to write a code in Go to interact with docker compose. The interaction includes reading messages from a custom writer associated with
ctx
viaprogress.WithContextWriter(ctx, writer)
Steps To Reproduce
See code at https://go.dev/play/p/xBTIGKO3pzR
Notice the lines
In the https://github.com/docker/compose/blob/v2/pkg/progress/writer.go, the custom writer is overriden:
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: