title: How store container logs from test-containers?
body: <p><a href="https://www.testcontainers.org/modules/docker_compose/" rel="nofollow noreferrer">Test-containers</a> project alllows start docker contaniders from compose file. They have <a href="https://www.testcontainers.org/test_framework_integration/junit_4/" rel="nofollow noreferrer">integration with JUnit</a>. But when test phase is finished, all I have is maven log - all started containers were removed by that time. It would be nice if6 for example I run <code>Application</code> and <code>Database</code> containers 4 times for 4 tests. So maven target folder should contains the following: <code>target/test-containers/&lt;start-id&gt;/Application.log</code> and
  <code>target/test-containers/&lt;start-id&gt;/Database.log</code>.</p>
  <p>Is there a way to configure test-containers or JUnit or both to redirect log from started containers into some folder?</p>