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
In testcontainers-java 2.x, this constructor does not set localCompose = true. Only the constructors without DockerImageName enable local compose mode:
// testcontainers-java ComposeContainer.javapublicComposeContainer(File... composeFiles) {
this(DEFAULT_IMAGE_NAME, Arrays.asList(composeFiles));
this.localCompose = true; // only set here
}
Since there's no way to enable local compose mode via testcontainers-scala, Docker Compose tests fail on Docker Desktop for macOS with:
ContainerLaunchException: Container startup failed for image docker:latest