testcontainers / testcontainers-java

Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
https://testcontainers.org
MIT License
8.05k stars 1.66k forks source link

Fix docker credentials output #9544

Closed eddumelendez closed 6 days ago

eddumelendez commented 6 days ago

In #8007, docker credentials stdout and stderr are separated and stderr has been used to display error messages. However, docker credentials writes error messages to stdout. This commit, read the process execution exit value for better handling and read stdout for error messages.

Fixes #9478