Can you change the temporary download location of a pull command?

Hi,

I am looking for a way to change the temporary folder where the pull request puts the temporary downloaded images, in a linux environment.

I am running into an issue where my root volumes are only 23GB and cannot be changed. While i do have another volume that is big enough and have made docker put its images there i cannot pull a large image (hortonworks-hdp) because i get the “no space left” error.

I believe that is because the pull request is temporarily putting the partial downloads in the /tmp directory.

Can anyone help,

thanks!