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
{{ message }}
Repository navigation
Temp files should be created in a temp directory #423
Currently temp files are created in the current directory. This leads to a mess in case the JVM crashes. Instead the files should be created in a subdirectory of the temp directory.
The file I had was actually created in my source directory on the host Windows x64 machine and it doesn't lie under my user home. I have a feeling this temp file may not have been created by Docker, but by testcontainers itself. (I deleted before filing this issue and forgot to write down the exact name, but it was something like .testcontainers.tmp.something
Having this same issue, where my folders get polluted by these tmp files. If for any reason the TMP folder of the OS cannot be used, a better default location than "." could be "./target" (at least for Maven builds)
Activity
bsideup commentedon Aug 1, 2017
Hi @axelfontaine,
Unfortunately, Docker doesn't allow mounts outside of user home directory, at least on Mac / Windows, this is why we do that. Any idea how to improve?
axelfontaine commentedon Aug 1, 2017
The file I had was actually created in my source directory on the host Windows x64 machine and it doesn't lie under my user home. I have a feeling this temp file may not have been created by Docker, but by testcontainers itself. (I deleted before filing this issue and forgot to write down the exact name, but it was something like
.testcontainers.tmp.somethingaxelfontaine commentedon Aug 1, 2017
The culprit is the first line in
org.testcontainers.utility.MountableFile.extractClassPathResourceToTempLocation():arcuri82 commentedon Aug 8, 2017
Having this same issue, where my folders get polluted by these tmp files. If for any reason the TMP folder of the OS cannot be used, a better default location than "." could be "./target" (at least for Maven builds)
kiview commentedon Dec 9, 2017
Has been fixed with #450.
Bump influxdb-java from 2.10 to 2.14 in /modules/influxdb (#1070)