You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restarting a container with a log consumer results in a error after the second start command.
In the following example, I restart a simple hello world container with a custom log consumer.
I expected that the log consumer wont cause an error.
I guess this caused by starting log production when Start() is called. And one has to call container.StopLogProducer() before Start() to prevent this error.
Testcontainers version
0.31.0
Using the latest Testcontainers version?
Yes
Host OS
Linux Ubuntu 22.04
Host arch
x86
Go version
1.22
Docker version
Docker info
What happened?
Restarting a container with a log consumer results in a error after the second start command.
In the following example, I restart a simple hello world container with a custom log consumer.
I expected that the log consumer wont cause an error.
Relevant log output
The text was updated successfully, but these errors were encountered: