Fmriprep docker - changing /tmp folder

I have started using fmriprep which looks great.
My problem - I have app. 200GB available on my local HDD (in which the docker container sits).
I do have a mounted storage (/media/Data) with 20TB.
I have noticed that before fmriprerp finishes the output it stores the file in the docker’s /tmp folder (which piles up in my local HDD). Can I point fmriprep to put the /tmp folder in different location (on /media/Data/tmp)?

You can adjust the working directory with the -w flag.

1 Like