docker / cli

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

[26.1 backport] waitExitOrRemoved: Handle context cancellation #5044

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.