testcontainers-java icon indicating copy to clipboard operation
testcontainers-java copied to clipboard

FileAlreadyExistsException thrown by MountableFile

Open curb1983 opened this issue 3 years ago • 1 comments

I'm using testcontainers version 1.16.0. I'm facing the same problem as mentioned in #419 when starting a container. I'm using Docker Desktop version 3.3.1 (63152) on Windows 10. The issue was fixed back in 2017 however it seems it resurfaced.

curb1983 avatar Oct 04 '21 13:10 curb1983

Having the same issue here. Also just verified using org.testcontainers:elasticsearch:1.17.3

The error occurs for me when the file is located in a jar file

In m breakpoint (at copyFromJarToLocation) the destinationName is empty: image

sniffertine avatar Jul 19 '22 13:07 sniffertine