Example of how to access container output stream #432
-
Hi, I'm trying to build WaitStrategy that watching container's logs for some message, as far as I can see |
Beta Was this translation helpful? Give feedback.
Answered by
HofmeisterAn
Mar 15, 2022
Replies: 1 comment 1 reply
-
There are plenty examples in the unit tests like: or |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Nicshek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are plenty examples in the unit tests like:
https://github.com/HofmeisterAn/dotnet-testcontainers/blob/f25ed8705fa72c9d03eb185c41bd783db0fbb908/tests/DotNet.Testcontainers.Tests/Unit/Containers/Unix/TestcontainersContainerTest.cs#L291
or
https://github.com/HofmeisterAn/dotnet-testcontainers/blob/ef67133a1287a5cd183af9ae21e56fd44089f69e/src/DotNet.Testcontainers/Configurations/Modules/Databases/CouchbaseTestcontainerConfiguration.cs#L63