docker / cli

The Docker CLI
Apache License 2.0
4.88k stars 1.92k forks source link

waitExitOrRemoved: Handle context cancellation #5043

Closed vvoland closed 5 months ago

vvoland commented 5 months ago

Fix docker run printing an error.

$ docker run -d alpine sleep 3                                                                                                                                                                                                  
e28138819b6b32f8a5ce2adde83c6b08d2ea5c66ebc352f47cfb9283227f683f
ERRO[0002] error waiting for container: context canceled
Fix docker run -d ... printing an context canceled spurious error when OTEL is configured.
codecov-commenter commented 5 months ago

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 60.85%. Comparing base (9714adc) to head (840016e). Report is 8 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #5043 +/- ## ========================================== - Coverage 61.08% 60.85% -0.24% ========================================== Files 295 295 Lines 20660 20840 +180 ========================================== + Hits 12621 12683 +62 - Misses 7142 7251 +109 - Partials 897 906 +9 ```