Let's consider a simple test on Windows 10 with testcontainers-1.6.0 which looks like the following:
public class FoobarTest {
@ClassRule
public static GenericContainer<?> broker = new GenericContainer<>("ubuntu:latest").withExposedPorts(80);
@Test
public void returnsRealFoo() {
assertTrue(true);
}
}
Then on test execution, Docker displays a pop up and asks for granting access to disk C:.
Why? How can I disable it?