Pulling a model stores it only in the Temp files and never get transferred

I’ve recently installed Docker on my windows, and i’ve tried to pull a model online. the problem being it don’t place the downloaded files (using “data-root” option) to the right directory, it being my second hard drive, and endlessly stores the downloaded files into the Temp directory. how do i change that ?

Can you be more specific? Are you talking about docker model pull? As far as I know those modells are stored in the .docker folder in your user profile directory. at .docker/models/. I don’t know if that can be changed. The “data-root” config you mentioned is probably just where the docker images are stored, but models are different. Unless you pulled a different kind of model just a s asimple docker image using docker pull.

What Temp files do you mean? Where is that folder? Is it your system temp folder or specifically for models?

To be more specific. i use “docker model pull” to fetch the model i desire locally. the model itself is “Deepseek”. and the temps files are located in “C:\Users\user\AppData\Local\Temp”. the main problem being that whenever i pull the model, it don’t move then to anywhere, it just keep storing it in that temp file until my drive is too filled to continue any operation, without moving the contents anywhere.

I tried a Windows machine. There was indeed a model-runner-HASH directory in AppData\Temp, but it was empty. The size of the .docker\models directory changed when I pulled or deleted a model. If the model stays in Temp for you, I guess there is a permission issue and the downloaded files cannot be moved to the final directory. I’M not sure what permissions could be missing. If you have no models in the models directory, you could try deleting the folder. Or if it doesn’t exist, creating it. Or if you have nothing in the .docker directory either, you could delete or rename that too and see if that solves the problem.

Does docker model list list the downloaded models for you?

PS C:\WINDOWS\system32> docker model list
MODEL NAME PARAMETERS QUANTIZATION ARCHITECTURE MODEL ID CREATED CONTEXT SIZE

But given i hadn’t succeeded in any pull i guess it’s logical it don’t gives anything. Does Docker needs to be started in admin maybe ? why wouldn’t it flag that it couldn’t reach the repertory then ? or just, place them at least in the default folder not just all in the temp files.

It is, I just wanted to see if it was really the case.or some config was different and models were loaded from somewhere else.

So indeed the modesl could not be moved to the models directory.

No. Your own profile directory is owned by you so no need for Admin users. Only the installation requires Admin users. But permissions on the filesystem can be broken. That is why I suggested renaming or deleting the current folders and let Docker Desktop recreate them from scratch. That only works if you have nothing to keep in those folders. Otherwise you can temporarily rename the docker folder and if that helps, you know the problem was permissions.

You could also check if you find any related issue on GitHub

Or ylou can create a new issue.

Not sure why there is no user friendly error message, but I am also not sure what default folder you mean. If it cannot move the files where it is supposed to, it will stay in the Temp folder.

I tried another solution: to pull without docker the model in the designated folder and it worked. now i’m stuck with another problem: how do i tell Docker that i want to start that model without pulling the model. i also tried to download the model with the GUI, and it placed them in “C:\Users\user\.docker\models\blobs\sha256”. is that also normal ?

Yes, the image layers should be there.