[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Missing files in /tmp of a docker job



Hi Thomas,

I thought that something along these lines might be happening, grateful for the clarification. I will steer clear from those volatile locations and just rebuild the image using '/opt/'. Thanks!

Best,

-Jacek

On 04/06/2020 10.09, Thomas Hartmann via HTCondor-users wrote:
>Hi Jacek,
>
>I would assume, that /tmp in the container context is a bind-mount of
>the job's scratch dir, i.e., that the '/tmp' with your files created
>during build is not visible anymore. In general, I would assume, that
>such tmp paths as /tmp or /var/tmp are in most container setups writable
>and transient for a container instance and I would not use them as
>storage path during build time or so.
>I prefer to put my static files under /data (or /mnt/data etc.) as
>non-FHS paths to avoid such collisions.

>Cheers,
>Thomas
-- 
Jacek Kominek, PhD
University of Wisconsin-Madison
1552 University Avenue, Wisconsin Energy Institute 4154
Madison, WI  53726-4084, USA
jkominek@xxxxxxxx